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

Craig Welch commented on YARN-2495:
-----------------------------------

My point is that everything necessary to manage labels properly exists without 
DECENTRALIZED_CONFIGURATION_ENABLED, it is a duplication of existing 
functionality.   The user controls this by:

1. choosing to specify or not specify a way of managing the nodes at the node 
manager
2. choosing to set or not set node labels and associations using the 
centralized apis

ergo, DECENTRALIZED_CONFIGURATION_ENABLED is completely redundant, it provides 
no capabilities not already present.  Users will need to understand how the 
feature works to use it effectively anyway, there is no value add by requiring 
that they repeat themselves (both by specifying a way of determining node 
labels at the node manager level and by having to set this switch.).  My 
prediction is that, if the switch is present, it's chief function will be to 
confuse and annoy users when they setup a configuration for the node managers 
to generate node labels and then the labels don't appear in the cluster as they 
expect them to.

> Allow admin specify labels from each NM (Distributed configuration)
> -------------------------------------------------------------------
>
>                 Key: YARN-2495
>                 URL: https://issues.apache.org/jira/browse/YARN-2495
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Naganarasimha G R
>         Attachments: YARN-2495.20141023-1.patch, YARN-2495.20141024-1.patch, 
> YARN-2495.20141030-1.patch, YARN-2495.20141031-1.patch, 
> YARN-2495.20141119-1.patch, YARN-2495.20141126-1.patch, 
> YARN-2495.20141204-1.patch, YARN-2495.20141208-1.patch, 
> YARN-2495_20141022.1.patch
>
>
> Target of this JIRA is to allow admin specify labels in each NM, this covers
> - User can set labels in each NM (by setting yarn-site.xml (YARN-2923) or 
> using script suggested by [~aw] (YARN-2729) )
> - NM will send labels to RM via ResourceTracker API
> - RM will set labels in NodeLabelManager when NM register/update labels



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

Reply via email to