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() + ", " +
|
"numChildQueue= " + childQueues.size() + ", " +
|
||||||
getCapacityOrWeightString() + ", " +
|
getCapacityOrWeightString() + ", " +
|
||||||
"absoluteCapacity=" + queueCapacities.getAbsoluteCapacity() + ", " +
|
"absoluteCapacity=" + queueCapacities.getAbsoluteCapacity() + ", " +
|
||||||
"usedResources=" + usageTracker.getQueueUsage().getUsed() +
|
"usedResources=" + usageTracker.getQueueUsage().getUsed() + ", " +
|
||||||
"usedCapacity=" + getUsedCapacity() + ", " +
|
"usedCapacity=" + getUsedCapacity() + ", " +
|
||||||
"numApps=" + getNumApplications() + ", " +
|
"numApps=" + getNumApplications() + ", " +
|
||||||
"numContainers=" + getNumContainers();
|
"numContainers=" + getNumContainers();
|
||||||
|
@ -1148,7 +1148,7 @@ public class ParentQueue extends AbstractCSQueue {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (CSQueue q : childQueues) {
|
for (CSQueue q : childQueues) {
|
||||||
sb.append(q.getQueuePath() +
|
sb.append(q.getQueuePath() +
|
||||||
"usedCapacity=(" + q.getUsedCapacity() + "), " +
|
" usedCapacity=(" + q.getUsedCapacity() + "), " +
|
||||||
" label=("
|
" label=("
|
||||||
+ StringUtils.join(q.getAccessibleNodeLabels().iterator(), ",")
|
+ StringUtils.join(q.getAccessibleNodeLabels().iterator(), ",")
|
||||||
+ ")");
|
+ ")");
|
||||||
|
|
Loading…
Reference in New Issue