MAPREDUCE-5818. Added "hsadmin" command into mapred.cmd. Contributed by Jian He.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1584378 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhijie Shen 2014-04-03 20:23:51 +00:00
parent 620809b9a0
commit f9df4d7377
2 changed files with 8 additions and 1 deletions

View File

@ -181,6 +181,8 @@ Release 2.4.1 - UNRELEASED
BUG FIXES BUG FIXES
MAPREDUCE-5818. Added "hsadmin" command into mapred.cmd. (Jian He via zjshen)
Release 2.4.0 - 2014-04-07 Release 2.4.0 - 2014-04-07
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -135,6 +135,10 @@ goto :eof
set CLASSPATH=%CLASSPATH%;%TOO_PATH% set CLASSPATH=%CLASSPATH%;%TOO_PATH%
set HADOOP_OPTS=%HADOOP_OPTS% %HADOOP_CLIENT_OPTS% set HADOOP_OPTS=%HADOOP_OPTS% %HADOOP_CLIENT_OPTS%
:hsadmin
set CLASS=org.apache.hadoop.mapreduce.v2.hs.client.HSAdmin
set HADOOP_OPTS=%HADOOP_OPTS% %HADOOP_CLIENT_OPTS%
:pipes :pipes
goto not_supported goto not_supported
@ -189,6 +193,7 @@ goto :eof
@echo historyserver run job history servers as a standalone daemon @echo historyserver run job history servers as a standalone daemon
@echo distcp ^<srcurl^> ^<desturl^> copy file or directories recursively @echo distcp ^<srcurl^> ^<desturl^> copy file or directories recursively
@echo archive -archiveName NAME -p ^<parent path^> ^<src^>* ^<dest^> create a hadoop archive @echo archive -archiveName NAME -p ^<parent path^> ^<src^>* ^<dest^> create a hadoop archive
@echo hsadmin job history server admin interface
@echo @echo
@echo Most commands print help when invoked w/o parameters. @echo Most commands print help when invoked w/o parameters.