YARN-3859. LeafQueue doesn't print user properly for application add.

Contributed by Varun Saxena.

(cherry picked from commit b543d1a390)
This commit is contained in:
Devaraj K 2015-06-28 10:04:50 +05:30
parent 1a8d162bc4
commit e163c1e0da
2 changed files with 5 additions and 1 deletions

View File

@ -514,6 +514,9 @@ Release 2.8.0 - UNRELEASED
YARN-2871. TestRMRestart#testRMRestartGetApplicationList sometime fails in trunk. YARN-2871. TestRMRestart#testRMRestartGetApplicationList sometime fails in trunk.
(zhihai xu via xgong) (zhihai xu via xgong)
YARN-3859. LeafQueue doesn't print user properly for application add.
(Varun Saxena via devaraj)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -676,7 +676,8 @@ private synchronized void addApplicationAttempt(FiCaSchedulerApp application,
LOG.info("Application added -" + LOG.info("Application added -" +
" appId: " + application.getApplicationId() + " appId: " + application.getApplicationId() +
" user: " + user + "," + " leaf-queue: " + getQueueName() + " user: " + application.getUser() + "," +
" leaf-queue: " + getQueueName() +
" #user-pending-applications: " + user.getPendingApplications() + " #user-pending-applications: " + user.getPendingApplications() +
" #user-active-applications: " + user.getActiveApplications() + " #user-active-applications: " + user.getActiveApplications() +
" #queue-pending-applications: " + getNumPendingApplications() + " #queue-pending-applications: " + getNumPendingApplications() +