YARN-11086. Add space in debug log of ParentQueue. Contributed by Junfan Zhang.
This commit is contained in:
parent
4537b34e1c
commit
e2701e227f
|
@ -465,7 +465,7 @@ public class ParentQueue extends AbstractCSQueue {
|
|||
"numChildQueue= " + childQueues.size() + ", " +
|
||||
getCapacityOrWeightString() + ", " +
|
||||
"absoluteCapacity=" + queueCapacities.getAbsoluteCapacity() + ", " +
|
||||
"usedResources=" + usageTracker.getQueueUsage().getUsed() +
|
||||
"usedResources=" + usageTracker.getQueueUsage().getUsed() + ", " +
|
||||
"usedCapacity=" + getUsedCapacity() + ", " +
|
||||
"numApps=" + getNumApplications() + ", " +
|
||||
"numContainers=" + getNumContainers();
|
||||
|
@ -1148,7 +1148,7 @@ public class ParentQueue extends AbstractCSQueue {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
for (CSQueue q : childQueues) {
|
||||
sb.append(q.getQueuePath() +
|
||||
"usedCapacity=(" + q.getUsedCapacity() + "), " +
|
||||
" usedCapacity=(" + q.getUsedCapacity() + "), " +
|
||||
" label=("
|
||||
+ StringUtils.join(q.getAccessibleNodeLabels().iterator(), ",")
|
||||
+ ")");
|
||||
|
|
Loading…
Reference in New Issue