hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2786) Create yarn cluster CLI to enable list node labels collection
Date Wed, 12 Nov 2014 19:37:35 GMT

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

Wangda Tan commented on YARN-2786:

bq.  Essentially: adding this feature creates the invalid label problem you are hoping to
As what Vinod commented above, CLI/REST API to add labels not means it is used by human and
typing it character-by-character on keyboard. And also, the distributed script is also created
by human, they're identically same regarding to invalid labels could be added.

Distributed configuration by automatically executing script has its benefit of course, but
many things will be hard to interpret without human's intervene. E.g. if an admin know some
nodes in the cluster will be removed soon, and add a label "temporary" to these node. It will
need more effort to do the same thing via script. Many attributes like "temporary" are subjective,
I think we should have both of them exists. 

Does this make sense?

> 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, YARN-2786-20141104-2-full.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

View raw message