Created 05-21-2016 01:05 PM
Hi,
When I restarted the machine due to some problem, all the services on that particular machine are getting stopped except SmartSense agent. The only SmartSense agent is getting automatically started as soon as the machine is up. In the same way, even I want other services also get started automatically like ambari-agent, services like DN, NM, AMS, etc..,
Now my questions are: Is it possible to get all the services automatically get started same as HST agent? If no, then why is only HST getting started automatically?
Any help is highly appreciated and Thanks in advance.
Created on 05-21-2016 07:02 PM - edited 08-18-2019 04:57 AM
I have written a utility(work is still in progress) which can be very helpful in your case.
1. Clone my repository
git clone https://github.com/crazyadmins/useful-scripts.git
2. Goto useful-scripts/ambari/
3. Edit ambari.properties according to your cluster environment
4. Start using script 🙂
Here is the usage screenshot:
Happy Hadooping!! 🙂
Created 05-23-2016 04:26 PM
@Sri Bandaru You can use the auto-start feature to specify the list of components that you want to restart after a node comes up. The documentation of the feature is here: https://cwiki.apache.org/confluence/display/AMBARI/Recovery%3A+auto+start+components