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

Contributed by Varun Saxena.
This commit is contained in:
Devaraj K 2015-06-28 10:04:50 +05:30
parent 79ed0f959f
commit b543d1a390
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -676,7 +676,8 @@ public class LeafQueue extends AbstractCSQueue {
LOG.info("Application added -" +
" appId: " + application.getApplicationId() +
" user: " + user + "," + " leaf-queue: " + getQueueName() +
" user: " + application.getUser() + "," +
" leaf-queue: " + getQueueName() +
" #user-pending-applications: " + user.getPendingApplications() +
" #user-active-applications: " + user.getActiveApplications() +
" #queue-pending-applications: " + getNumPendingApplications() +