[jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing

2015-03-24 Thread Tsuyoshi Ozawa (JIRA)

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

Tsuyoshi Ozawa commented on HADOOP-11591:
-

[~sanjeevtripurari] OK, thank you for reporting!

 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
Assignee: 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 jarrun 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
   classpathprints the class path needed to get the
Hadoop jar and the required libraries
   daemonlogget/set the log level for each daemon
  or
   CLASSNAMErun 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)


[jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing

2015-03-24 Thread Sanjeev T (JIRA)

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

Sanjeev T commented on HADOOP-11591:


[~ozawa], I check the trunk, the code is changed, we can close this issue.

 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 jarrun 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
   classpathprints the class path needed to get the
Hadoop jar and the required libraries
   daemonlogget/set the log level for each daemon
  or
   CLASSNAMErun 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)


[jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing

2015-02-15 Thread Tsuyoshi OZAWA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 jarrun 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
   classpathprints the class path needed to get the
Hadoop jar and the required libraries
   daemonlogget/set the log level for each daemon
  or
   CLASSNAMErun 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)


[jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing

2015-02-13 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11591:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12698677/HADOOP-11591.patch
  against trunk revision ba3c80a.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/5683//console

This message is automatically generated.

 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 jarrun 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
   classpathprints the class path needed to get the
Hadoop jar and the required libraries
   daemonlogget/set the log level for each daemon
  or
   CLASSNAMErun 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)


[jira] [Commented] (HADOOP-11591) hadoop message for help and version with hyphens confusing

2015-02-13 Thread Sanjeev T (JIRA)

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

Sanjeev T commented on HADOOP-11591:


The above cases shows, -- (hyphens) are accepted for help, and or the users who 
use -- as common for version, the messages are confusing.

In case of version we should strip off the hyphens, and show the correct 
message which is acceptable valid command.


 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

 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 jarrun 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
   classpathprints the class path needed to get the
Hadoop jar and the required libraries
   daemonlogget/set the log level for each daemon
  or
   CLASSNAMErun 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)