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

Abhishek Modi commented on YARN-7930:
-------------------------------------

Thanks [~asuresh] and [~leftnoteasy] for review. 

in case of RM restart, it will reinitialize the labels from the config and then 
will rerun the state from node label store. So in the case you mentioned, after 
RM restart, labels in the RM would be b, c and d. This should also be desired 
behavior.

I can create another config to delete the previously stored state and that flag 
can be used to restart RM with fresh config.

Thoughts?

> 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