[ 
https://issues.apache.org/jira/browse/YARN-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918307#comment-13918307
 ] 

Xuan Gong commented on YARN-1734:
---------------------------------

bq. It appears the AdminService#refreshAll is called on transition to active. 
However, calling any of the refresh commands on the Standby throws 
StandbyException. This can lead to confusion - we throw an exception even 
though the refresh command takes affect when the RM transitions to Active.

After rm.transitionToActive() is successfully executed, the rm is at Active 
state. So, it will not throw out StandbyException.

> RM should get the updated Configurations when it transits from Standby to 
> Active
> --------------------------------------------------------------------------------
>
>                 Key: YARN-1734
>                 URL: https://issues.apache.org/jira/browse/YARN-1734
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: YARN-1734.1.patch, YARN-1734.2.patch, YARN-1734.3.patch, 
> YARN-1734.4.patch, YARN-1734.5.patch, YARN-1734.6.patch, YARN-1734.7.patch
>
>
> Currently, we have ConfigurationProvider which can support 
> LocalConfiguration, and FileSystemBasedConfiguration. When HA is enabled, and 
> FileSystemBasedConfiguration is enabled, RM can not get the updated 
> Configurations when it transits from Standby to Active



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to