hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13802) Make generic options help more consistent, and aligned
Date Wed, 09 Nov 2016 00:01:04 GMT

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

Hudson commented on HADOOP-13802:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10792 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10792/])
HADOOP-13802. Make generic options help more consistent, and aligned. (liuml07: rev 2a65eb121e23243fcb642d28b3f74241536485d8)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java


> 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
>            Assignee: Grant Sohn
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: HADOOP-13802.1.patch, HADOOP-13802.2.patch, HADOOP-13802.3.patch,
HADOOP-13802.4.patch
>
>
> 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