hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-796) Allow for (admin) labels on nodes and resource-requests
Date Thu, 13 Mar 2014 23:25:52 GMT

    [ 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)

Mime
View raw message