hadoop-yarn-issues mailing list archives

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

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

Allen Wittenauer commented on YARN-2786:
----------------------------------------

bq.  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.

Could you point specifically to where this specific feature was discussed?  

I've very much against doing this feature. This feels a lot like the mess that is /proc on
Linux:  a writable interface with an indeterminate state on restart.  I'll just come out and
say it: it's a terrible idea that makes systems much harder to support over the long haul.
 ("Where did this label come from?  I guess someone manually added it via the shell at some
point?"  or "I want to start all of my labels over.  Oh, I have to run a bunch of commands
to do it instead of editing a file?")

bq.  I quickly read through the entire JIRA - "yarn cluster" is way better than the original
"yarn node-labels". Specifically, given we also have "yarn node" returning labels, it should
address your concerns?

This is actually supporting my claim that adding cluster for this purpose is a bad idea, given
that the weirdo node command also returns labels in an unprivileged manner. :)

> 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