hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archana T (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11568) Description on usage of classpath in hadoop command is incomplete.
Date Mon, 16 Feb 2015 05:09:12 GMT

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

Archana T commented on HADOOP-11568:
------------------------------------

Hi [~cnauroth]

This above issue exists in branch-2 

function print_usage(){
  echo "Usage: hadoop [--config confdir] [COMMAND | CLASSNAME]"
  echo "  CLASSNAME            run the class named CLASSNAME"
  echo " or"
  echo "  where COMMAND is one of:"
  echo "  fs                   run a generic filesystem user client"
  echo "  version              print the version"
  echo "  jar <jar>            run a jar file"
  echo "                       note: please use \"yarn jar\" to launch"
  echo "                             YARN applications, not this command."
  echo "  checknative [-a|-h]  check native hadoop and compression libraries availability"
  echo "  distcp <srcurl> <desturl> copy file or directories recursively"
  echo "  archive -archiveName NAME -p <parent path> <src>* <dest> create
a hadoop archive"
 *{color:red} echo "  classpath            prints the class path needed to get the"
  echo "  credential           interact with credential providers"
  echo "                       Hadoop jar and the required libraries" {color}*
  echo "  daemonlog            get/set the log level for each daemon"
  echo "  trace                view and modify Hadoop tracing settings"
  echo ""
  echo "Most commands print help when invoked w/o parameters."
}


> 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
>             Fix For: 2.7.0
>
>
> 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)

Mime
View raw message