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

Sunil G commented on YARN-2495:
-------------------------------

Hi [~Naganarasimha Garla] [~gp.leftnoteasy]

I have one comment here.

bq.  if exception raise when replace labels on node, put the new labels 

I assume current idea is in such a way that if one label from NM is found as 
invalid, complete labels sent by NM in that heartbeat will be considered as 
error.

Could it be done in such a way that, give a number of labels from NM as 5 at a 
given heartbeat. In that 2 labels are found to be invalid by RM. If so, why 
could we accept the 3 passed labels, and send back 2 rejected labels back to 
NM. This may make the work better and easier to handle.

How do you feel?

> 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_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 or using script 
> suggested by [~aw])
> - 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