YARN-9722. PlacementRule logs object ID in place of queue name. Contributed by Prabhu Joseph.

This commit is contained in:
Abhishek Modi 2019-08-12 10:44:46 +05:30
parent 6b4564f1d5
commit 8fbf8b2eb0
2 changed files with 6 additions and 6 deletions

View File

@ -190,9 +190,9 @@ public ApplicationPlacementContext getPlacementForApp(
//queueName will be same as mapped queue name in case of recovery
|| queueName.equals(mappedQueue.getQueue())
|| overrideWithQueueMappings) {
LOG.info("Application " + applicationName
+ " mapping [" + queueName + "] to [" + mappedQueue
+ "] override " + overrideWithQueueMappings);
LOG.info("Application {} mapping [{}] to [{}] override {}",
applicationName, queueName, mappedQueue.getQueue(),
overrideWithQueueMappings);
return mappedQueue;
}
}

View File

@ -200,9 +200,9 @@ public ApplicationPlacementContext getPlacementForApp(
//queueName will be same as mapped queue name in case of recovery
|| queueName.equals(mappedQueue.getQueue())
|| overrideWithQueueMappings) {
LOG.info("Application " + applicationId + " user " + user
+ " mapping [" + queueName + "] to [" + mappedQueue
+ "] override " + overrideWithQueueMappings);
LOG.info("Application {} user {} mapping [{}] to [{}] override {}",
applicationId, user, queueName, mappedQueue.getQueue(),
overrideWithQueueMappings);
return mappedQueue;
}
}