You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Grant Sohn (JIRA)" <ji...@apache.org> on 2016/11/02 20:32:58 UTC

[jira] [Created] (YARN-5820) yarn node CLI help should be clearer

Grant Sohn created YARN-5820:
--------------------------------

             Summary: yarn node CLI help should be clearer
                 Key: YARN-5820
                 URL: https://issues.apache.org/jira/browse/YARN-5820
             Project: Hadoop YARN
          Issue Type: Bug
          Components: client
    Affects Versions: 2.6.0
            Reporter: Grant Sohn
            Priority: Trivial


Current message is:
{noformat}
usage: node
 -all               Works with -list to list all nodes.
 -list              List all running nodes. Supports optional use of
                    -states to filter nodes based on node state, all -all
                    to list all nodes.
 -states <States>   Works with -list to filter nodes based on input
                    comma-separated list of node states.
 -status <NodeId>   Prints the status report of the node.
{noformat}

It should be either this:
{noformat}
usage: yarn node [-list [-states <States>|-all] | -status <NodeId>]

 -all               Works with -list to list all nodes.
 -list              List all running nodes. Supports optional use of
                    -states to filter nodes based on node state, all -all
                    to list all nodes.
 -states <States>   Works with -list to filter nodes based on input
                    comma-separated list of node states.
 -status <NodeId>   Prints the status report of the node.
{noformat}

or that.
{noformat}
usage: yarn node -list [-states <States>|-all] 
       yarn node -status <NodeId>

 -all               Works with -list to list all nodes.
 -list              List all running nodes. Supports optional use of
                    -states to filter nodes based on node state, all -all
                    to list all nodes.
 -states <States>   Works with -list to filter nodes based on input
                    comma-separated list of node states.
 -status <NodeId>   Prints the status report of the node.
{noformat}

The latter is the least ambiguous.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org