YARN-5672. FairScheduler: Wrong queue name in log when adding application. (Wilfred Spiegelenburg via kasha)

This commit is contained in:
Karthik Kambatla 2016-10-03 06:03:46 -07:00
parent 6e130c308c
commit 0da54e8848

View File

@ -668,11 +668,12 @@ protected synchronized void addApplication(ApplicationId applicationId,
queue.getMetrics().submitApp(user); queue.getMetrics().submitApp(user);
LOG.info("Accepted application " + applicationId + " from user: " + user LOG.info("Accepted application " + applicationId + " from user: " + user
+ ", in queue: " + queueName + ", currently num of applications: " + ", in queue: " + queue.getName()
+ applications.size()); + ", currently num of applications: " + applications.size());
if (isAppRecovering) { if (isAppRecovering) {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug(applicationId + " is recovering. Skip notifying APP_ACCEPTED"); LOG.debug(applicationId
+ " is recovering. Skip notifying APP_ACCEPTED");
} }
} else { } else {
rmContext.getDispatcher().getEventHandler() rmContext.getDispatcher().getEventHandler()