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

Brahma Reddy Battula commented on MAPREDUCE-6291:
-------------------------------------------------

Thanks for taking a look into this issue..Yes, may be we can uniform like this 
but not only mapred, there are for yarn also hence I feel,can file separate 
jira to handle..

 *Here as you mentioned * 

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.

> Correct mapred queue usage command
> ----------------------------------
>
>                 Key: MAPREDUCE-6291
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6291
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.6.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: MAPRED-6291.patch
>
>
>  *Currently it is like following..* 
> Usage: JobQueueClient <command> <args>
>  *It should be* 
> Usage: queue <command> <args>
>  *For more Details check following* 
> {noformat}
> hdfs@host1:/hadoop/bin> ./mapred queue
> Usage: JobQueueClient <command> <args>
>       [-list]
>       [-info <job-queue-name> [-showJobs]]
>       [-showacls] 
> {noformat}



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

Reply via email to