[
https://issues.apache.org/jira/browse/AMBARI-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519623#comment-14519623
]
Hari Sekhon commented on AMBARI-10834:
--------------------------------------
Ok I'm gonna mark this as a duplicate of that so all the design should be
tracked in one place.
> Restart services automatically after a node reboot
> --------------------------------------------------
>
> Key: AMBARI-10834
> URL: https://issues.apache.org/jira/browse/AMBARI-10834
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-agent, ambari-server
> Affects Versions: 2.0.0
> Environment: HDP 2.2
> Reporter: Hari Sekhon
>
> When a node reboots for any reason Ambari does not automatically restart the
> services on that node after it comes back up.
> I think it would be beneficial for the services on that node to be
> auto-restarted, equivalent to if they were locally controlled via init
> scripts.
> This could be done via Ambari server re-issuing the start commands if last
> state was started when the agent comes back in to contact if services are
> down (the agent is actually auto-started on boot since it's an init script)
> or the agent itself could maintain the last requested state locally in state
> files and ensure that the services are restarted if they are down during
> periodic process checks.
> Hari Sekhon
> http://www.linkedin.com/in/harisekhon
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)