[
https://issues.apache.org/jira/browse/HADOOP-9945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karthik Kambatla updated HADOOP-9945:
-------------------------------------
Attachment: hadoop-9945-2.patch
Offline, Alejandro suggested renaming the state to STOPPING instead of STOPPED
to capture that the HA service is not completely shutdown but about to.
Posting an updated patch.
> 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, hadoop-9945-2.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