siddhantsangwan commented on a change in pull request #2441:
URL: https://github.com/apache/ozone/pull/2441#discussion_r680949399



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/balancer/ContainerBalancerConfiguration.java
##########
@@ -136,14 +158,49 @@ public long getMaxSizeToMove() {
   }
 
   /**
-   * Sets the value of maximum size that will be moved by Container Balancer.
+   * Sets the value of maximum size that will be moved by Container Balancer
+   * in one iteration.
    *
    * @param maxSizeToMove maximum number of Bytes
    */
   public void setMaxSizeToMove(long maxSizeToMove) {
     this.maxSizeToMove = maxSizeToMove;
   }
 
+  public long getMaxSizeEnteringTarget() {
+    return maxSizeEnteringTarget;
+  }
+
+  public void setMaxSizeEnteringTarget(long maxSizeEnteringTarget) {
+    this.maxSizeEnteringTarget = maxSizeEnteringTarget;
+  }
+
+  public long getMaxSizeLeavingSource() {
+    return maxSizeLeavingSource;
+  }
+
+  public void setMaxSizeLeavingSource(long maxSizeLeavingSource) {
+    this.maxSizeLeavingSource = maxSizeLeavingSource;
+  }
+
+  public Set<ContainerID> getExcludeContainers() {
+    if (excludeContainers.isEmpty()) {
+      return new HashSet<>();
+    }
+    return Arrays.stream(excludeContainers.split(", |,"))

Review comment:
       Done




-- 
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]

Reply via email to