I have a use-case that I need to stop services in a particular host from a cluster. How to do that, and do we have any REST API to take care of it. I was able to do in the Cloudera manager, but using the REST API for stopping the. services, stops services in all host, whereas i need to do that only for one host.
This seems to restart the services in all hosts.
Ex:- I've Kafka running in 3 hosts in a cluster. If I execute this command, this is abruptly stopping the services on all hosts, whereas I want to stop only on the second host, but not all. Can we have any such mechanism, by tweaking the body or header using REST API?. I don't see find any in the documentation related to this.