[ https://issues.apache.org/jira/browse/HADOOP-9945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla reopened HADOOP-9945: -------------------------------------- On https://issues.apache.org/jira/browse/YARN-1027?focusedCommentId=13765167&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13765167 , Bikas suggested we do this as part of a common JIRA and get reviewed by folks who wrote most of this code. Reopening this. > HAServiceState should have a state for stopped services > ------------------------------------------------------- > > Key: HADOOP-9945 > URL: https://issues.apache.org/jira/browse/HADOOP-9945 > Project: Hadoop Common > Issue Type: Improvement > Components: ha > Affects Versions: 2.1.0-beta > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Priority: Minor > Attachments: hadoop-9945-1.patch > > > HAServiceState, currently, has states for Initializing, Active, and Standby. > For RM HA, it is useful to have another state "STOPPING". This is because > YARN has a separate service model where Services are stopped and can't be > restarted. When the Active/Standby RM is stopped, it can no longer go back to > the Active/Standby state; setting the HAServiceState to Initializing is > misleading. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira