[ https://issues.apache.org/jira/browse/YARN-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196953#comment-14196953 ]
Vinod Kumar Vavilapalli commented on YARN-2786: ----------------------------------------------- I see the discussion on YARN-796, YARN-2495. Both the implementations are going to be done soon, so we can agree to disagree on having both a decentralized way and a central way to assign labels against nodes. bq. "Where did this label come from? I guess someone manually added it via the shell at some point?" This is simply audit/lineage. As part of YARN-2495, we can make sure an admin can only configure it using only one of the mechanisms and not both. I doubt if this is necessary, but sure. bq. This is actually supporting my claim that adding cluster for this purpose is a bad idea, Don't follow. We need a "yarn cluster" for ton of other things that we don't have today. I can already list a few {code} yarn cluster --list-nodes yarn cluster --list-nodes --status=UNHEALTHY yarn cluster --list-racks yarn cluster --current-resource-usage {code} > 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)