|
@@ -32,8 +32,10 @@ HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
|
. $HADOOP_LIBEXEC_DIR/hadoop-config.sh
|
|
. $HADOOP_LIBEXEC_DIR/hadoop-config.sh
|
|
|
|
|
|
function print_usage(){
|
|
function print_usage(){
|
|
- echo "Usage: hadoop [--config confdir] [--loglevel loglevel] COMMAND"
|
|
|
|
- echo " where COMMAND is one of:"
|
|
|
|
|
|
+ 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 " fs run a generic filesystem user client"
|
|
echo " version print the version"
|
|
echo " version print the version"
|
|
echo " jar <jar> run a jar file"
|
|
echo " jar <jar> run a jar file"
|
|
@@ -47,8 +49,6 @@ function print_usage(){
|
|
echo " Hadoop jar and the required libraries"
|
|
echo " Hadoop jar and the required libraries"
|
|
echo " daemonlog get/set the log level for each daemon"
|
|
echo " daemonlog get/set the log level for each daemon"
|
|
echo " trace view and modify Hadoop tracing settings"
|
|
echo " trace view and modify Hadoop tracing settings"
|
|
- echo " or"
|
|
|
|
- echo " CLASSNAME run the class named CLASSNAME"
|
|
|
|
echo ""
|
|
echo ""
|
|
echo "Most commands print help when invoked w/o parameters."
|
|
echo "Most commands print help when invoked w/o parameters."
|
|
}
|
|
}
|