YARN-8165. Incorrect queue name logging in AbstractContainerAllocator. Contributed by Weiwei Yan.
(cherry picked from commit dd5e18c4ae
)
This commit is contained in:
parent
b9dc0e597e
commit
f37f680a4e
|
@ -97,7 +97,8 @@ public abstract class AbstractContainerAllocator {
|
|||
// This is a reserved container
|
||||
LOG.info("Reserved container " + " application="
|
||||
+ application.getApplicationId() + " resource=" + allocatedResource
|
||||
+ " queue=" + this.toString() + " cluster=" + clusterResource);
|
||||
+ " queue=" + appInfo.getQueueName()
|
||||
+ " cluster=" + clusterResource);
|
||||
assignment.getAssignmentInformation().addReservationDetails(
|
||||
updatedContainer, application.getCSLeafQueue().getQueuePath());
|
||||
assignment.getAssignmentInformation().incrReservations();
|
||||
|
@ -125,9 +126,9 @@ public abstract class AbstractContainerAllocator {
|
|||
// Inform the ordering policy
|
||||
LOG.info("assignedContainer" + " application attempt=" + application
|
||||
.getApplicationAttemptId() + " container=" + updatedContainer
|
||||
.getContainerId() + " queue=" + this + " clusterResource="
|
||||
+ clusterResource + " type=" + assignment.getType()
|
||||
+ " requestedPartition="
|
||||
.getContainerId() + " queue=" + appInfo.getQueueName()
|
||||
+ " clusterResource=" + clusterResource
|
||||
+ " type=" + assignment.getType() + " requestedPartition="
|
||||
+ updatedContainer.getNodeLabelExpression());
|
||||
|
||||
assignment.getAssignmentInformation().addAllocationDetails(
|
||||
|
|
Loading…
Reference in New Issue