Brahma Reddy Battula created YARN-3398:
------------------------------------------

             Summary: It would be good if usage command are in consistent 
                 Key: YARN-3398
                 URL: https://issues.apache.org/jira/browse/YARN-3398
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Brahma Reddy Battula
            Assignee: Brahma Reddy Battula


As [~rohithsharma] raised point in MAPRED-6291

It would be good if usage command are in consistent like below.
Usage: Yarn <command> <sub-command> <args>

hdfs@host131:/hadoop/bin> ./yarn logs
Retrieve logs for completed YARN applications.
 *usage: yarn logs -applicationId <application ID> [OPTIONS]* 
general options are:
-appOwner <Application Owner> AppOwner (assumed to be current user if
not specified)
-containerId <Container ID> ContainerId (must be specified if node
address is specified)
-nodeAddress <Node Address> NodeAddress in the format nodename:port
(must be specified if container id is
specified)

 *Here Different Format* 
hdfs@host131:/opt/hadoop/bin> ./yarn queue
15/03/26 00:13:06 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
Invalid Command Usage : 
 *usage: queue* 
-help Displays help for all commands.
-status <Queue Name> List queue information about given queue.

Same for {{mapred}} also....Please correct me If I am wrong



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

Reply via email to