ChenSammi commented on a change in pull request #2278:
URL: https://github.com/apache/ozone/pull/2278#discussion_r656709812
##########
File path:
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/StorageContainerLocationProtocolClientSideTranslatorPB.java
##########
@@ -712,6 +716,44 @@ public boolean getReplicationManagerStatus() throws
IOException {
}
+ @Override
+ public void startContainerBalancer(double threshold, int idleiterations,
+ int maxDatanodesToBalance, long maxSizeToMove) throws IOException {
+
+ StartContainerBalancerRequestProto request =
+ StartContainerBalancerRequestProto.newBuilder()
+ .setIdleiterations(idleiterations)
+ .setMaxDatanodesToBalance(maxDatanodesToBalance)
+ .setMaxSizeToMove(maxSizeToMove)
+ .setThreshold(threshold).build();
+ submitRequest(Type.StartContainerBalancer,
+ builder -> builder.setStartContainerBalancerRequest(request));
+
+ }
+
+ @Override
+ public void stopContainerBalancer() throws IOException {
+
Review comment:
Can we remove these extra head and tail black line?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]