ChenSammi commented on code in PR #3663:
URL: https://github.com/apache/ozone/pull/3663#discussion_r941029248
##########
hadoop-hdds/interface-client/src/main/proto/hdds.proto:
##########
@@ -451,3 +451,16 @@ message ContainerBalancerConfigurationProto {
required bool shouldRun = 18;
optional int32 nextIterationIndex = 19;
}
+
+message DiskBalancerConfigurationProto {
+ optional string threshold = 1;
+ optional string diskBandwidth = 2;
+ optional int32 parallelThread = 3;
+}
+
+message DatanodeDiskBalancerInfoProto {
+ optional DatanodeDetailsProto node = 1;
Review Comment:
1. node, diskBalanderRunning and currentVolumeDensitySum should be required
instead of optional.
2. use double for threashold, and uint64 for diskBandwidth.
--
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]