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-2924) Node to labels mapping should not transfer to lowercase when adding from RMAdminCLI
Date Wed, 10 Dec 2014 14:43:21 GMT

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

Hudson commented on YARN-2924:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1968 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1968/])
YARN-2924. Fixed RMAdminCLI to not convert node labels to lower case. Contributed by Wangda
Tan (jianhe: rev 437322afcaa4b1b260501af160283c97eb589419)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java


> Node to labels mapping should not transfer to lowercase when adding from RMAdminCLI
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-2924
>                 URL: https://issues.apache.org/jira/browse/YARN-2924
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 2.7.0
>
>         Attachments: YARN-2924.1.patch
>
>
> In existing implementation, when parsing node-to-labels mapping from RMAdminCLI, it transferred
all labels to lowercase:
> {code}
>       for (int i = 1; i < splits.length; i++) {
>         if (!splits[i].trim().isEmpty()) {
>           map.get(nodeId).add(splits[i].trim().toLowerCase());
>         }
>       }
> {code}
> That is not correct, we should fix that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message