hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13802) Make generic options help more consistent, and aligned
Date Mon, 07 Nov 2016 18:49:58 GMT

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

Mingliang Liu commented on HADOOP-13802:
----------------------------------------

The format looks pretty good.

Are we removing
{code}
 The general command line syntax is bin/hadoop command [genericOptions] [commandOptions]
{code}
which I don't quite support. We have to tell the user that genericOptions comes before commandOptions,
don't we?

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message