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

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

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

Shen Yinjie commented on YARN-7975:
-----------------------------------

[~leftnoteasy],[~sunilg],would you mind taking a look at it?

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org