hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2754) addToCluserNodeLabels should be protected by writeLock in RMNodeLabelsManager.java.
Date Mon, 27 Oct 2014 23:04:34 GMT

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

Wangda Tan commented on YARN-2754:
----------------------------------

Zhihai,
Thanks reporting and the fix,
Patch LGTM +1,

Wangda

> addToCluserNodeLabels should be protected by writeLock in RMNodeLabelsManager.java.
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-2754
>                 URL: https://issues.apache.org/jira/browse/YARN-2754
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2754.000.patch
>
>
> addToCluserNodeLabels should be protected by writeLock in RMNodeLabelsManager.java. because
we should protect labelCollections in RMNodeLabelsManager.



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

Mime
View raw message