hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-116) RM is missing ability to add include/exclude files without a restart
Date Sun, 30 Sep 2012 13:17:09 GMT

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

Hudson commented on YARN-116:

Integrated in Hadoop-Mapreduce-trunk #1212 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1212/])
    YARN-116. Add the ability to change the RM include/exclude file without a restart. (Contributed
by xieguiming and Harsh J) (Revision 1391912)

     Result = FAILURE
sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1391912
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/NodesListManager.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceTrackerService.java

> RM is missing ability to add include/exclude files without a restart
> --------------------------------------------------------------------
>                 Key: YARN-116
>                 URL: https://issues.apache.org/jira/browse/YARN-116
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.0-alpha
>            Reporter: xieguiming
>            Assignee: xieguiming
>             Fix For: 2.0.3-alpha
>         Attachments: HADOOP-835-0.patch, HADOOP-835-1.patch, HADOOP-835.patch, YARN-116.patch
> The "yarn.resourcemanager.nodes.include-path" default value is "", if we need to add
an include file, we must currently restart the RM. 
> I suggest that for adding an include or exclude file, there should be no need to restart
the RM. We may only execute the refresh command. The HDFS NameNode already has this ability.
> Fix is to the modify HostsFileReader class instances:
> From:
> {code}
> public HostsFileReader(String inFile, 
>                          String exFile)
> {code}
> To:
> {code}
>  public HostsFileReader(Configuration conf, 
> {code}
> And thus, we can read the config file dynamically when a {{refreshNodes}} is invoked
and therefore have no need to restart the ResourceManager.

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

View raw message