[ 
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)

Reply via email to