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

(cherry picked from commit 0da54e8848)
This commit is contained in:
Karthik Kambatla 2016-10-03 06:03:46 -07:00
parent 04f594dbea
commit f8c2c7b2c0
1 changed files with 4 additions and 3 deletions

View File

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