Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-21-2016 07:51 PM
Hi, I have a 50+ node HDP 2.3 cluster. It so happened that one of the nodes restarted and all the services installed on that node were stopped. Is there a way, a rest api call that I can use to start all the services just on this one particular node
Created 11-21-2016 09:08 PM
This should work
curl -u admin:admin -H "X-Requested-By:ambari" -X PUT -d '{"HostRoles": {"state": "STARTED"}}' http://AMBARI_HOST:8080/api/v1/clusters/CLUSTER_NAME/hosts/HOST_ON_WHICH_COMPONENTS_NEED_TO_BE_START...
Components in Maintenance mode will be ignored.
Created 11-21-2016 09:08 PM
This should work
curl -u admin:admin -H "X-Requested-By:ambari" -X PUT -d '{"HostRoles": {"state": "STARTED"}}' http://AMBARI_HOST:8080/api/v1/clusters/CLUSTER_NAME/hosts/HOST_ON_WHICH_COMPONENTS_NEED_TO_BE_START...
Components in Maintenance mode will be ignored.
Created 11-21-2016 11:25 PM
This helped a lot thank you. I was able to run this call from the command line and start the services on this node.
Created 11-22-2016 12:28 AM
Created 11-22-2016 02:02 AM
Dont see any option to accept the answer. Do see that it is marked "Best Answer" does that mean it has been accepted.