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:21:12 -07:00
parent 03f897fd1a
commit 5774f6b1e5
2 changed files with 4 additions and 1 deletions

View File

@ -526,6 +526,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 container node logs daemonlog historyserver ^
application applicationattempt container node queue logs daemonlog historyserver ^
timelineserver classpath
for %%i in ( %yarncommands% ) do (
if %yarn-command% == %%i set yarncommand=true