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

Wangda Tan commented on YARN-2729:
----------------------------------

Hi [~Naganarasimha],
For 1.
I think what I meant is just check label name locally in NM. 
If NM register/heartbeat with RM failed with labels, I should have commented in 
YARN-2495: 
https://issues.apache.org/jira/browse/YARN-2495?focusedCommentId=14184146&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14184146.
bq. use a flag say if the last sync about node labels is success or not
This should be also your proposal

For 2.
I think for now, let's keep it simple, I just don't want to change too much for 
what we have in NodeLabelsManager :). As our discussion in YARN-2495, in the 
future we might need return rejected labels. So we can change this that that 
time. What do you think?

Thanks,
Wangda

> Support script based NodeLabelsProvider Interface in Distributed Node Label 
> Configuration Setup
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-2729
>                 URL: https://issues.apache.org/jira/browse/YARN-2729
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
>         Attachments: YARN-2729.20141023-1.patch, YARN-2729.20141024-1.patch
>
>
> Support script based NodeLabelsProvider Interface in Distributed Node Label 
> Configuration Setup . 



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

Reply via email to