hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2786) Create yarn cluster CLI to enable list node labels collection
Date Tue, 04 Nov 2014 21:38:36 GMT

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

Vinod Kumar Vavilapalli commented on YARN-2786:
-----------------------------------------------

bq. What is the difference between a user running a command that adds an hbase attribute to
a node, the configuration file listing the hbase attribute to a node, the configuration on
the node manager that says it has the hbase attribute, and the dynamic script telling the
NM has the hbase attribute?
I believe this has been discussed to death at YARN-796 & friends. We now are doing YARN-2495
too. Sites who prefer to choose one over the other can do so without any concern.

bq. This is exactly why I wanted an analog of dfsadmin -report. This is a user consistency
issue. The rmadmin -report should list all the nodes as well as what their node labels are
(amongst other interesting things).
Agree this is a user consistency issue. But "dfsadmin -report" is not great at all, no matter
how much you got used to it. It's not an admin privilege to list the nodes - any user who
has the right ACLs should be able to do it. We don't need to keep compatibility with HDFS.

> Create yarn cluster CLI to enable list node labels collection
> -------------------------------------------------------------
>
>                 Key: YARN-2786
>                 URL: https://issues.apache.org/jira/browse/YARN-2786
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-2786-20141031-1.patch, YARN-2786-20141031-2.patch, YARN-2786-20141102-2.patch,
YARN-2786-20141102-3.patch, YARN-2786-20141103-1-full.patch, YARN-2786-20141103-1-without-yarn.cmd.patch,
YARN-2786-20141104-1-full.patch, YARN-2786-20141104-1-without-yarn.cmd.patch
>
>
> With YARN-2778, we can list node labels on existing RM nodes. But it is not enough, we
should be able to: 
> 1) list node labels collection
> The command should start with "yarn cluster ...", in the future, we can add more functionality
to the "yarnClusterCLI"



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

Mime
View raw message