YuanbenWang commented on code in PR #5228:
URL: https://github.com/apache/ozone/pull/5228#discussion_r1312479939
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/balancer/ContainerBalancerConfiguration.java:
##########
@@ -411,15 +411,42 @@ public String toString() {
"%-50s %d%n" +
"%-50s %dGB%n" +
"%-50s %dGB%n" +
- "%-50s %dGB%n", "Key", "Value", "Threshold",
+ "%-50s %dGB%n" +
+ "%-50s %d%n" +
+ "%-50s %dmin%n" +
+ "%-50s %dmin%n" +
+ "%-50s %dmin%n" +
+ "%-50s %s%n" +
+ "%-50s %s%n" +
+ "%-50s %s%n" +
+ "%-50s %s%n" +
+ "%-50s %s%n" , "Key", "Value", "Threshold",
threshold, "Max Datanodes to Involve per Iteration(percent)",
maxDatanodesPercentageToInvolvePerIteration,
"Max Size to Move per Iteration",
maxSizeToMovePerIteration / OzoneConsts.GB,
"Max Size Entering Target per Iteration",
maxSizeEnteringTarget / OzoneConsts.GB,
"Max Size Leaving Source per Iteration",
- maxSizeLeavingSource / OzoneConsts.GB);
+ maxSizeLeavingSource / OzoneConsts.GB,
+ "Number of Iterations",
+ iterations,
+ "Time Limit for Single Container's Movement",
+ Duration.ofMillis(moveTimeout).toMinutes(),
+ "Time Limit for Container Replication's Move",
Review Comment:
Thank you for the review~! I have changed it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]