[
https://issues.apache.org/jira/browse/YARN-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639056#comment-13639056
]
Thomas Graves commented on YARN-126:
------------------------------------
Thanks for working on this.
A few comments. Unfortunately we aren't consistent across hadoop how we print
usages.
- In the usage print out, I'd prefer to separate out the generic options like
-D, -conf, and -rm from the actual commands so that its more obvious to users
what the commands are.
- Capitalize usage in yarn rmadmin (Usage:)
- the usage should say something like: yarn rmadmin [generic options] COMMAND
We should also fix the GenericOptionsParser to not reference the jobtracker
anymore, but I can file a separate jira for that.
> yarn rmadmin help message contains reference to hadoop cli and JT
> -----------------------------------------------------------------
>
> Key: YARN-126
> URL: https://issues.apache.org/jira/browse/YARN-126
> Project: Hadoop YARN
> Issue Type: Bug
> Components: client
> Affects Versions: 2.0.3-alpha
> Reporter: Thomas Graves
> Assignee: Rémy SAISSY
> Labels: usability
> Attachments: YARN-126.patch
>
>
> has option to specify a job tracker and the last line for general command
> line syntax had "bin/hadoop command [genericOptions] [commandOptions]"
> ran "yarn rmadmin" to get usage:
> RMAdmin
> Usage: java RMAdmin
> [-refreshQueues]
> [-refreshNodes]
> [-refreshUserToGroupsMappings]
> [-refreshSuperUserGroupsConfiguration]
> [-refreshAdminAcls]
> [-refreshServiceAcl]
> [-help [cmd]]
> Generic options supported are
> -conf <configuration file> specify an application configuration file
> -D <property=value> use value for given property
> -fs <local|namenode:port> specify a namenode
> -jt <local|jobtracker:port> specify a job tracker
> -files <comma separated list of files> specify comma separated files to be
> copied to the map reduce cluster
> -libjars <comma separated list of jars> specify comma separated jar files
> to include in the classpath.
> -archives <comma separated list of archives> specify comma separated
> archives to be unarchived on the compute machines.
> The general command line syntax is
> bin/hadoop command [genericOptions] [commandOptions]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira