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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to