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 "Wangda Tan (JIRA)" <ji...@apache.org> on 2014/12/04 20:29:12 UTC
[jira] [Updated] (YARN-2924) Node to labels mapping should not
transfer to lowercase when adding from RMAdminCLI
[ https://issues.apache.org/jira/browse/YARN-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wangda Tan updated YARN-2924:
-----------------------------
Attachment: YARN-2924.1.patch
Attached a fix for this, without this fix, modified test will fail.
> 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
> 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)