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

Alejandro Abdelnur commented on YARN-796:
-----------------------------------------

Arun, doing a recap on the config, is this what you mean?

ResourceManager {{yarn-site.xml}} would specify the valid labels systemwide 
(you didn't suggest this, but it prevent label typos going unnoticed):

{code}
<property>
  <name>yarn.resourcemanager.valid-labels</name>
  <value>labelA, labelB, labelX</value>
</properties>
{code}

NodeManagers yarn-site.xml would specify the labels of the node:

{code}
<property>
  <name>yarn.nodemanager.labels</name>
  <value>labelA, labelX</value>
</properties>
{code}

Scheduler configuration, in its queue configuration would specify what labels 
can be used when requesting allocations in that queue:

{code}
<property>
  <name>yarn.scheduler.capacity.root.A.allowed-labels</name>
  <value>labelA</value>
</properties>
{code}


> Allow for (admin) labels on nodes and resource-requests
> -------------------------------------------------------
>
>                 Key: YARN-796
>                 URL: https://issues.apache.org/jira/browse/YARN-796
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>
> It will be useful for admins to specify labels for nodes. Examples of labels 
> are OS, processor architecture etc.
> We should expose these labels and allow applications to specify labels on 
> resource-requests.
> Obviously we need to support admin operations on adding/removing node labels.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to