YARN-9722. PlacementRule logs object ID in place of queue name. Contributed by Prabhu Joseph.
This commit is contained in:
parent
6b4564f1d5
commit
8fbf8b2eb0
|
@ -190,9 +190,9 @@ public class AppNameMappingPlacementRule extends PlacementRule {
|
|||
//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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -200,9 +200,9 @@ public class UserGroupMappingPlacementRule extends PlacementRule {
|
|||
//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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue