[
https://issues.apache.org/jira/browse/HADOOP-9945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HADOOP-9945:
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1-beta
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've just committed this to trunk, branch-2, and branch-2.1-beta.
Thanks a lot for the contribution, Karthik.
> 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
> Fix For: 2.1.1-beta
>
> 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