hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing
Date Sun, 15 Feb 2015 00:47:11 GMT

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

Tsuyoshi OZAWA commented on HADOOP-11591:
-----------------------------------------

[~sanjeevtripurari] the patch looks outdated. Could you refresh a patch on trunk?

> hadoop message for help and version with hyphens confusing
> ----------------------------------------------------------
>
>                 Key: HADOOP-11591
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11591
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 2.6.0
>            Reporter: Sanjeev T
>            Priority: Trivial
>         Attachments: HADOOP-11591.patch
>
>
> hadoop message, for help and version confuse the user
> * for hadoop help
> {noformat}
> hadoop --help
> Usage: hadoop [--config confdir] COMMAND
>        where COMMAND is one of:
>   fs                   run a generic filesystem user client
>   version              print the version
>   jar <jar>            run a jar file
>   checknative [-a|-h]  check native hadoop and compression libraries availability
>   distcp <srcurl> <desturl> copy file or directories recursively
>   archive -archiveName NAME -p <parent path> <src>* <dest> create a
hadoop archive
>   classpath            prints the class path needed to get the
>                        Hadoop jar and the required libraries
>   daemonlog            get/set the log level for each daemon
>  or
>   CLASSNAME            run the class named CLASSNAME
> Most commands print help when invoked w/o parameters.
> {noformat}
> * for checking the hadoop version
> {noformat}
> $ hadoop --version
> Error: No command named `--version' was found. Perhaps you meant `hadoop -version'
> $ hadoop -version
> Error: No command named `-version' was found. Perhaps you meant `hadoop version'
> $ hadoop version
> Hadoop 2.0.0-cdh4.3.0
> {noformat}



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

Mime
View raw message