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

Chris Nauroth commented on HADOOP-11568:
----------------------------------------

Hi, [~archanat].  Could you please help me understand the issue better?  See 
below for the output of {{hadoop}} from a recent trunk build.  I don't see a 
problem with the description of the {{classpath}} sub-command.

{code}
> hadoop
Usage: hadoop [--config confdir] [COMMAND | CLASSNAME]
  CLASSNAME            run the class named CLASSNAME
 or
  where COMMAND is one of:
  archive -archiveName NAME -p <parent path> <src>* <dest>
                       create a Hadoop archive
  checknative [-a|-h]  check native Hadoop and compression 
                         libraries availability
  classpath            prints the class path needed to get the
                         Hadoop jar and the required libraries
  credential           interact with credential providers
  daemonlog            get/set the log level for each daemon
  distch path:owner:group:permisson
                       distributed metadata changer
  distcp <srcurl> <desturl> 
                       copy file or directories recursively
  fs                   run a generic filesystem user client
  jar <jar>            run a jar file
                       note: please use "yarn jar" to launch
                             YARN applications, not this command.
  jnipath              prints the java.library.path
  kerbname             show auth_to_local principal conversion
  key                  manage keys via the KeyProvider
  trace                view and modify Hadoop tracing settings
  version              print the version

Most commands print help when invoked w/o parameters.
{code}


> Description on usage of classpath in hadoop command is incomplete.
> ------------------------------------------------------------------
>
>                 Key: HADOOP-11568
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11568
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.6.0
>            Reporter: Archana T
>            Assignee: Archana T
>            Priority: Trivial
>
> Description on usage of classpath in hadoop command is incomplete.
> # ./hadoop
> 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           *{color:red} prints the class path needed to get 
> the{color}*
>   credential           interact with credential providers
>    /* *{color:blue}Remove this below line {color}* */
>                      *{color:red}Hadoop jar and the required libraries 
> {color}*
>   daemonlog            get/set the log level for each daemon
> Expected -
>  classpath           *{color:blue} prints the class path needed to get the
>                        Hadoop jar and the required libraries {color}*
> credential           interact with credential providers



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

Reply via email to