[ 
https://issues.apache.org/jira/browse/HADOOP-13802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grant Sohn updated HADOOP-13802:
--------------------------------
    Description: 
The generic options have always been this:

{noformat}
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|resourcemanager:port>    specify a ResourceManager
-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]
{noformat}

However, almost all the hadoop command help follow an unwritten style which is 
similar to man page descriptions.
This is the proposed improvement.

{noformat}
Generic options supported are:
-conf <configuration file>     specify an application configuration file
-D <property=value>            define a value for given property
-fs <local|namenode:port>      specify a namenode
-jt <local|jobtracker:port>    specify a job tracker
-files <file1,...>             specify a comma-separated list of files to be 
copied to the map reduce cluster
-libjars <jar1,...>            specify a comma-separated list of jar files to 
be included in the classpath
-archives <archive1,...>       specify a comma-separated list of archives to be 
unarchived on the compute machines
{noformat}

  was:

{noformat}
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|resourcemanager:port>    specify a ResourceManager
-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]
{noformat}

{noformat}
Generic options supported are:
-conf <configuration file>     specify an application configuration file
-D <property=value>            define a value for given property
-fs <local|namenode:port>      specify a namenode
-jt <local|jobtracker:port>    specify a job tracker
-files <file1,...>             specify a comma-separated list of files to be 
copied to the map reduce cluster
-libjars <jar1,...>            specify a comma-separated list of jar files to 
be included in the classpath
-archives <archive1,...>       specify a comma-separated list of archives to be 
unarchived on the compute machines
{noformat}


> Make generic options help more consistent, and aligned
> ------------------------------------------------------
>
>                 Key: HADOOP-13802
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13802
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Grant Sohn
>            Priority: Trivial
>
> The generic options have always been this:
> {noformat}
> 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|resourcemanager:port>    specify a ResourceManager
> -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]
> {noformat}
> However, almost all the hadoop command help follow an unwritten style which 
> is similar to man page descriptions.
> This is the proposed improvement.
> {noformat}
> Generic options supported are:
> -conf <configuration file>     specify an application configuration file
> -D <property=value>            define a value for given property
> -fs <local|namenode:port>      specify a namenode
> -jt <local|jobtracker:port>    specify a job tracker
> -files <file1,...>             specify a comma-separated list of files to be 
> copied to the map reduce cluster
> -libjars <jar1,...>            specify a comma-separated list of jar files to 
> be included in the classpath
> -archives <archive1,...>       specify a comma-separated list of archives to 
> be unarchived on the compute machines
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to