其他分享
首页 > 其他分享> > ambari删除某台机器某一个组件:

ambari删除某台机器某一个组件:

作者:互联网

curl -u admin:admin -H “X-Requested-By: ambari” -X DELETE http://192.168.0.33:8080/api/v1/clusters/hadoop/hosts/lh-3/host_components/HBASE_CLIENT

curl -u admin:admin -H “X-Requested-By: ambari” -X DELETE http://注主节点ip:8080/api/v1/clusters/集群名字/hosts/主机名字/host_components/组件名字

附录:各个节点安装状态获取url
http://10.121.201.212:8080/api/v1/clusters/METRON/hosts?fields=host_components/HostRoles/state&minimal_response=true&sortBy=Hosts/host_name.asc

标签:某台,ambari,admin,v1,host,api,clusters,组件,http
来源: https://blog.csdn.net/eases_stone/article/details/113769520