HADOOP-11543. Improve help message for hadoop/yarn command. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
0b567f4246
commit
ec950be173
|
@ -852,6 +852,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HADOOP-10062. race condition in MetricsSystemImpl#publishMetricsNow that
|
HADOOP-10062. race condition in MetricsSystemImpl#publishMetricsNow that
|
||||||
causes incorrect results. (Sangjin Lee via junping_du)
|
causes incorrect results. (Sangjin Lee via junping_du)
|
||||||
|
|
||||||
|
HADOOP-11543. Improve help message for hadoop/yarn command.
|
||||||
|
(Brahma Reddy Battula via ozawa)
|
||||||
|
|
||||||
Release 2.6.1 - UNRELEASED
|
Release 2.6.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
|
|
||||||
function hadoop_usage()
|
function hadoop_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 " archive -archiveName NAME -p <parent path> <src>* <dest>"
|
echo " archive -archiveName NAME -p <parent path> <src>* <dest>"
|
||||||
echo " create a Hadoop archive"
|
echo " create a Hadoop archive"
|
||||||
|
@ -39,8 +41,6 @@ function hadoop_usage()
|
||||||
echo " key manage keys via the KeyProvider"
|
echo " key manage keys via the KeyProvider"
|
||||||
echo " trace view and modify Hadoop tracing settings"
|
echo " trace view and modify Hadoop tracing settings"
|
||||||
echo " version print the version"
|
echo " version print the version"
|
||||||
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."
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,9 @@
|
||||||
|
|
||||||
function hadoop_usage
|
function hadoop_usage
|
||||||
{
|
{
|
||||||
echo "Usage: yarn [--config confdir] [--daemon (start|stop|status)]"
|
echo "Usage: yarn [--config confdir] [COMMAND | CLASSNAME]"
|
||||||
echo " [--loglevel loglevel] COMMAND"
|
echo " CLASSNAME run the class named CLASSNAME"
|
||||||
|
echo " or"
|
||||||
echo " where COMMAND is one of:"
|
echo " where COMMAND is one of:"
|
||||||
echo " application prints application(s) report/kill application"
|
echo " application prints application(s) report/kill application"
|
||||||
echo " applicationattempt prints applicationattempt(s) report"
|
echo " applicationattempt prints applicationattempt(s) report"
|
||||||
|
@ -39,8 +40,7 @@ function hadoop_usage
|
||||||
echo " sharedcachemanager run the SharedCacheManager daemon"
|
echo " sharedcachemanager run the SharedCacheManager daemon"
|
||||||
echo " timelineserver run the timeline server"
|
echo " timelineserver run the timeline server"
|
||||||
echo " version print the version"
|
echo " version print the version"
|
||||||
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