hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy SAISSY (JIRA) <j...@apache.org>
Subject [jira] [Commented] (YARN-126) yarn rmadmin help message contains reference to hadoop cli and JT
Date Tue, 23 Apr 2013 19:59:16 GMT

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

Rémy SAISSY commented on YARN-126:
----------------------------------

I removed the GenericOptionsParser because I saw that the yarn distributed shell ApplicationMaster.java
relies on org.apache.commons.cli.GnuParser instead.
So I though that since an options parser is not something specific to Hadoop, it might be
a good thing to remove the GenericOptionParser dependency where it is possible to favor the
commons.cli library instead.
Isn't it the case?


                
> 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

Mime
View raw message