Yes, for example this will delete all datanodes from host1,host2,host3 curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE "http://AMBARI_SERVER/api/v1/clusters/CLUSTERNAME/host_components?HostRoles/component_name.in(DATANODE)&HostRoles/host_name.in(host1,host2,host3)"
On 3/23/18, 8:58 PM, "Di Li" <[email protected]> wrote: Hello folks, Is there REST API support for bulk removing components from multiple hosts ? I know Ambari support bulk install components to multiple hosts and bulk removing of empty hosts from a cluster. It seems to me that it only makes sense if we can also bulk remove components as well. Thanks. Di
