HADOOP-11872. "hadoop dfs" command prints message about using "yarn jar" on Windows(branch-2 only). Contributed by Varun Vasudev.

(cherry picked from commit d1253f695d)
This commit is contained in:
cnauroth 2015-04-23 13:10:39 -07:00
parent 5b4eda7573
commit 37673268ef
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,9 @@ Release 2.7.1 - UNRELEASED
HADOOP-11868. Invalid user logins trigger large backtraces in server log HADOOP-11868. Invalid user logins trigger large backtraces in server log
(Chang Li via jlowe) (Chang Li via jlowe)
HADOOP-11872. "hadoop dfs" command prints message about using "yarn jar" on
Windows(branch-2 only) (Varun Vasudev via cnauroth)
Release 2.7.0 - 2015-04-20 Release 2.7.0 - 2015-04-20
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -246,8 +246,6 @@ call :updatepath %HADOOP_BIN_PATH%
goto :MakeCmdArgsLoop goto :MakeCmdArgsLoop
:EndLoop :EndLoop
set hadoop-command-arguments=%_arguments% set hadoop-command-arguments=%_arguments%
@echo note: please use "yarn jar" to launch
@echo YARN applications, not this command.
goto :eof goto :eof
:print_usage :print_usage
@ -256,6 +254,8 @@ call :updatepath %HADOOP_BIN_PATH%
@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
@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 checknative [-a^|-h] check native hadoop and compression libraries availability
@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