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

Yi Zhou commented on YARN-4847:
-------------------------------

Thanks again [~Naganarasimha]! 
Now i have below CS configuration. I issued a admin operation like below and my 
question is why the 'm' queue will run successfully instead of job failure ? 
The m queue should not have permission to access the node label y.

{code}
sudo -u yarn yarn jar 
/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar -jar 
/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar 
-shell_command sleep -shell_args 30 -num_containers 20 -container_memory 16384 
-queue m -node_label_expression y
{code}

{code}
<?xml version="1.0"?>
<configuration>
<property>
<name>yarn.scheduler.capacity.root.queues</name>
<value>e,m,default</value>
</property>

<property>
<name>yarn.scheduler.capacity.root.e.capacity</name>
<value>50</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.m.capacity</name>
<value>25</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.capacity</name>
<value>25</value>
</property>

<property>
<name>yarn.scheduler.capacity.root.e.accessible-node-labels</name>
<value>y</value>
</property>

<property>
<name>yarn.scheduler.capacity.root.accessible-node-labels.y.capacity</name>
<value>100</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.e.accessible-node-labels.y.capacity</name>
<value>100</value>
</property>

<property>
<name>yarn.scheduler.capacity.root.e.default-node-label-expression</name>
<value>y</value>
</property>
</configuration>
{code}

> Add documentation for the Node Label features supported in 2.6 
> ---------------------------------------------------------------
>
>                 Key: YARN-4847
>                 URL: https://issues.apache.org/jira/browse/YARN-4847
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>    Affects Versions: 2.6.4
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
>
> We constantly face issue with what are the node label supported features in 
> 2.6 and general commands to use it. So it would be better to have 
> documentation capturing what all is supported as part of 2.6



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

Reply via email to