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

This commit is contained in:
Xuan 2015-05-20 14:42:59 -07:00
parent d3193fd1d7
commit a665b22cfa
2 changed files with 4 additions and 1 deletions

View File

@ -484,6 +484,9 @@ Release 2.7.1 - UNRELEASED
YARN-2918. RM should not fail on startup if queue's configured labels do YARN-2918. RM should not fail on startup if queue's configured labels do
not exist in cluster-node-labels. (Wangda Tan via jianhe) 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 Release 2.7.0 - 2015-04-20
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -150,7 +150,7 @@ if "%1" == "--loglevel" (
) )
set yarncommands=resourcemanager nodemanager proxyserver rmadmin version jar ^ 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 timelineserver classpath
for %%i in ( %yarncommands% ) do ( for %%i in ( %yarncommands% ) do (
if %yarn-command% == %%i set yarncommand=true if %yarn-command% == %%i set yarncommand=true