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 "zhihai xu (JIRA)" <ji...@apache.org> on 2014/10/28 02:25:35 UTC

[jira] [Commented] (YARN-2759) addToCluserNodeLabels should not change the value in labelCollections if the key already exists to avoid the Label.resource is reset.

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

zhihai xu commented on YARN-2759:
---------------------------------

In the patch, I add a test case which add label "p1" twice to see whether the resource for "p1" is changed(reset).
Without the patch, the test will be failed.

> addToCluserNodeLabels should not change the value in labelCollections if the key already exists to avoid the Label.resource is reset.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2759
>                 URL: https://issues.apache.org/jira/browse/YARN-2759
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2759.000.patch
>
>
> addToCluserNodeLabels should not change the value in labelCollections if the key already exists to avoid the Label.resource is reset.



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