HADOOP-11543. Improve help message for hadoop/yarn command. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
a00c9362e6
commit
c9c1d9a5a6
|
@ -188,6 +188,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HADOOP-10140. Specification of HADOOP_CONF_DIR via the environment in
|
HADOOP-10140. Specification of HADOOP_CONF_DIR via the environment in
|
||||||
hadoop_config.cmd. (Kiran Kumar M R via cnauroth)
|
hadoop_config.cmd. (Kiran Kumar M R via cnauroth)
|
||||||
|
|
||||||
|
HADOOP-11543. Improve help message for hadoop/yarn command. (Brahma
|
||||||
|
Reddy Battula via ozawa).
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||||
|
|
|
@ -32,7 +32,9 @@ 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 "Usage: hadoop [--config confdir] [COMMAND | CLASSNAME]"
|
||||||
|
echo " CLASSNAME run the class named CLASSNAME"
|
||||||
|
echo " or"
|
||||||
echo " where COMMAND is one of:"
|
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"
|
||||||
|
@ -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."
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,9 @@ HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
|
||||||
. $HADOOP_LIBEXEC_DIR/yarn-config.sh
|
. $HADOOP_LIBEXEC_DIR/yarn-config.sh
|
||||||
|
|
||||||
function print_usage(){
|
function print_usage(){
|
||||||
echo "Usage: yarn [--config confdir] [--loglevel] COMMAND"
|
echo "Usage: yarn [--config confdir] [COMMAND | CLASSNAME]"
|
||||||
|
echo " CLASSNAME run the class named CLASSNAME"
|
||||||
|
echo " or"
|
||||||
echo " where COMMAND is one of:"
|
echo " where COMMAND is one of:"
|
||||||
echo " resourcemanager -format-state-store deletes the RMStateStore"
|
echo " resourcemanager -format-state-store deletes the RMStateStore"
|
||||||
echo " resourcemanager run the ResourceManager"
|
echo " resourcemanager run the ResourceManager"
|
||||||
|
@ -89,8 +91,7 @@ function print_usage(){
|
||||||
echo " required libraries"
|
echo " required libraries"
|
||||||
echo " daemonlog get/set the log level for each"
|
echo " daemonlog get/set the log level for each"
|
||||||
echo " daemon"
|
echo " daemon"
|
||||||
echo " or"
|
echo ""
|
||||||
echo " CLASSNAME run the class named CLASSNAME"
|
|
||||||
echo "Most commands print help when invoked w/o parameters."
|
echo "Most commands print help when invoked w/o parameters."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue