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

Wangda Tan commented on YARN-7930:
----------------------------------

[~asuresh], [~abmodi], 

We thought about this when do initial design of node label.

Problem of doing this is, node labels could be removed after RM restart. 

For example:
{code:java}
In config, preconfigure a/b/c
After RM start, add d and remove a {code}
In this case, what we should do after RM restart? Should we read from config 
again or skip read the config and only read from node label store? 

We have to deal with some other corner cases so we don't do it in the 
beginning. 

I will be fine if you could think it through about corner cases and how users 
to use this feature.

> Add configuration to initialize RM with configured labels.
> ----------------------------------------------------------
>
>                 Key: YARN-7930
>                 URL: https://issues.apache.org/jira/browse/YARN-7930
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Abhishek Modi
>            Assignee: Abhishek Modi
>            Priority: Major
>         Attachments: YARN-7930.001.patch, YARN-7930.002.patch, 
> YARN-7930.003.patch, YARN-7930.004.patch, YARN-7930.005.patch
>
>
> At present, the only way to create labels is using admin API. Sometimes, 
> there is a requirement to start the cluster with pre-configured node labels. 
> This Jira introduces yarn configurations to start RM with predefined node 
> labels.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to