hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3398) It would be good if usage command are in consistent
Date Sat, 28 Mar 2015 06:51:52 GMT

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

Brahma Reddy Battula commented on YARN-3398:

As I had seen usage commands for all not in sync...Hence filed yarn-3398
Some are like following
/yarn logs
usage: yarn logs -applicationId <application ID> [OPTIONS]
And some are like following..
/yarn queue
usage: queue
Hence whether we should go with yarn <command> <args> or <command> <args>....

Any-thoughts on this..? which will be better way..?

> 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

View raw message