Browse Source

YARN-10718. Fix CapacityScheduler#initScheduler log error. Contributed by Qi Zhu.

Peter Bacsko 4 years ago
parent
commit
ff6ec20d84

+ 3 - 3
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java

@@ -393,9 +393,9 @@ public class CapacityScheduler extends
       }
 
       LOG.info("Initialized CapacityScheduler with " + "calculator="
-          + getResourceCalculator().getClass() + ", " + "minimumAllocation=<"
-          + getMinimumResourceCapability() + ">, " + "maximumAllocation=<"
-          + getMaximumResourceCapability() + ">, " + "asynchronousScheduling="
+          + getResourceCalculator().getClass() + ", " + "minimumAllocation="
+          + getMinimumResourceCapability() + ", " + "maximumAllocation="
+          + getMaximumResourceCapability() + ", " + "asynchronousScheduling="
           + scheduleAsynchronously + ", " + "asyncScheduleInterval="
           + asyncScheduleInterval + "ms" + ",multiNodePlacementEnabled="
           + multiNodePlacementEnabled);