YARN-8894. Improve InMemoryPlan#toString. Contributed by BELUGA BEHR.
This commit is contained in:
parent
15fe1b34dd
commit
128f340f4f
@ -866,7 +866,7 @@ public boolean getMoveOnExpiry() {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
readLock.lock();
|
readLock.lock();
|
||||||
try {
|
try {
|
||||||
StringBuffer planStr = new StringBuffer("In-memory Plan: ");
|
StringBuilder planStr = new StringBuilder("In-memory Plan: ");
|
||||||
planStr.append("Parent Queue: ").append(queueName)
|
planStr.append("Parent Queue: ").append(queueName)
|
||||||
.append(" Total Capacity: ").append(totalCapacity).append(" Step: ")
|
.append(" Total Capacity: ").append(totalCapacity).append(" Step: ")
|
||||||
.append(step);
|
.append(step);
|
||||||
|
Loading…
Reference in New Issue
Block a user