YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. Contributed by Craig Welch and Varun Saxena

(cherry picked from commit a665b22cfa)
This commit is contained in:
Xuan 2015-05-20 14:42:59 -07:00
parent 114d41aeb2
commit b275818925
2 changed files with 4 additions and 1 deletions

View File

@ -106,6 +106,9 @@ Release 2.7.1 - UNRELEASED
YARN-2918. RM should not fail on startup if queue's configured labels do
not exist in cluster-node-labels. (Wangda Tan via jianhe)
YARN-3681. yarn cmd says "could not find main class 'queue'" in windows.
(Craig Welch and Varun Saxena via xgong)
Release 2.7.0 - 2015-04-20
INCOMPATIBLE CHANGES

View File

@ -150,7 +150,7 @@ if "%1" == "--loglevel" (
)
set yarncommands=resourcemanager nodemanager proxyserver rmadmin version jar ^
application applicationattempt cluster container node logs daemonlog historyserver ^
application applicationattempt cluster container node queue logs daemonlog historyserver ^
timelineserver classpath
for %%i in ( %yarncommands% ) do (
if %yarn-command% == %%i set yarncommand=true