Akira AJISAKA commented on YARN-126:

Thanks [~rémy] for updating the patch. Some comments.

1. Would you fix TestGenericOptionsParser?
2. Would you fix the indent size? The indent size is 2 whitespaces.
3. Would you update CommandsManual.md as well?
4. I'm thinking we can remove the deprecated option from command-line help 
+    out.println("-jt <local|resourcemanager:port>    specify a ResourceManager 

5. The following code can be removed.
+               conf.set("yarn.resourcemanager.address", "localhost:8032", 
+                    "from -rm command line option");

> 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.002.patch, 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 was sent by Atlassian JIRA

Reply via email to