You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2014/01/16 22:35:22 UTC

[jira] [Commented] (YARN-1611) Make admin refresh* s work for both Active RM and Standby RM

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

Xuan Gong commented on YARN-1611:
---------------------------------

The proposal :
To use it in HA, the client has to upload the new configuration file into remote File System (such as hdfs) before we can load the new configs.
For example, if we call refreshQueues in HA, the client need to upload the modified capacity-scheduler.xml into hdfs. When refreshQueues is called,
the capacity scheduler will reinitiate queues with this modified capacity-scheduler.xml.

So, we will make a RemoteConfiguration class that extends Configuration, and implement a FileSystemBasedRemoteConfiguration that has the FileSystem based utility.
When HA is enable, instead of simply call getConfig(), we will enforce new configs from the RemoteConfiguration.

> Make admin refresh* s work for both Active RM and Standby RM
> ------------------------------------------------------------
>
>                 Key: YARN-1611
>                 URL: https://issues.apache.org/jira/browse/YARN-1611
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>
> Currently, If we do refresh* for a standby RM, it will failover to the current active RM, and do the refresh* based on the local configuration file of the active RM. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)