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-2505) Support get/add/remove/change labels in RM REST API
Date Fri, 24 Oct 2014 23:36:34 GMT

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

Wangda Tan commented on YARN-2505:
----------------------------------

[~cwelch], 
Thanks for the update.
I still prefer locate RMNodeLabelsManager in RMWebService to avoid get it every time even
if it has little impact on performance. Because the reference of NodeLabelsManager not supposed
to be changed during the lifetime of RM. Similar to ApplicationMasterService or YarnScheduler,
beyond this one, all service get from RMContext shouldn't be changed as well. We shouldn't
do a defensive coding for a situation not suppose to exist.

Wangda

> Support get/add/remove/change labels in RM REST API
> ---------------------------------------------------
>
>                 Key: YARN-2505
>                 URL: https://issues.apache.org/jira/browse/YARN-2505
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Craig Welch
>         Attachments: YARN-2505.1.patch, YARN-2505.3.patch, YARN-2505.4.patch, YARN-2505.5.patch,
YARN-2505.6.patch, YARN-2505.7.patch, YARN-2505.8.patch, YARN-2505.9.patch, YARN-2505.patch
>
>




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

Mime
View raw message