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

Sunil G commented on YARN-7975:
-------------------------------

[~shenyinjie], could u pls write some UT cases to verify the case which you 
added. Thank You.

> Add an optional arg to yarn cluster -list-node-labels to list 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
>            Assignee: Shen Yinjie
>            Priority: Major
>         Attachments: YARN-7975.patch
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to