great, thx!

On Sat, Mar 24, 2018 at 6:08 AM, Attila Magyar <amag...@hortonworks.com>
wrote:

> 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" <osji...@gmail.com> 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
>
>
>

Reply via email to