You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2018/02/27 03:06:00 UTC

[jira] [Created] (YARN-7975) Add an optional arg to yarn cluster -list-node-labels to list all nodes collection partitioned by labels

Shen Yinjie created YARN-7975:
---------------------------------

             Summary: Add an optional arg to yarn cluster -list-node-labels to list all nodes collection partitioned by labels
                 Key: YARN-7975
                 URL: https://issues.apache.org/jira/browse/YARN-7975
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Shen Yinjie


Since we have "yarn cluster -lnl" to print all nodelabels info .But it's not enough,we should be abale to list nodes collection partitioned by labels,especially in large cluster.

So  I propose to add an optional argument  "-nodes" for  "yarn cluster -lnl" to achieve this.

e.g.

[yarn@docker1 ~]$ yarn cluster -lnl -nodes
Node Labels Num: 3
              Labels                                               Nodes
 <tensorflow:exclusivity=true>           docker1:45454, docker5:45454
 <spark:exclusivity=true>                   docker2:45454
 <impala:exclusivity=true>                 docker3:45454



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org