YARN-6493. Print requested node partition in assignContainer logs. (Jonathan Hung via wangda)

Change-Id: Ib20326daac10acad363befb0ae0998441fa5b32d
This commit is contained in:
Wangda Tan 2017-05-22 14:28:55 -07:00
parent c583ab02c7
commit 8e0f83e49a

View File

@ -126,7 +126,9 @@ protected CSAssignment getCSAssignmentFromAllocateResult(
LOG.info("assignedContainer" + " application attempt=" + application
.getApplicationAttemptId() + " container=" + updatedContainer
.getContainerId() + " queue=" + this + " clusterResource="
+ clusterResource + " type=" + assignment.getType());
+ clusterResource + " type=" + assignment.getType()
+ " requestedPartition="
+ updatedContainer.getNodeLabelExpression());
assignment.getAssignmentInformation().addAllocationDetails(
updatedContainer, application.getCSLeafQueue().getQueuePath());