Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3933e57
HDDS-6280. Support Container Balancer HA
siddhantsangwan May 16, 2022
c7633ba
Set nextIterationIndex to 0 in ContainerBalancer#setBalancerConfigOnS…
siddhantsangwan May 17, 2022
b1a80d7
improve exception handling
siddhantsangwan May 17, 2022
4b7cd67
minor change
siddhantsangwan May 17, 2022
bc99004
register ContainerBalancer with SCMServiceManager
siddhantsangwan May 20, 2022
0501ef6
test that configuration is persisted in all SCMs
siddhantsangwan May 20, 2022
276d748
mock SCMServiceManager in TestContainerBalancer
siddhantsangwan May 20, 2022
93dbdff
Merge branch 'TestContainerBalancerHA' into HDDS-6280
siddhantsangwan May 20, 2022
6cbdf21
rat and checkstyle
siddhantsangwan May 20, 2022
c65f297
trigger new CI check
siddhantsangwan May 23, 2022
d0c56b3
address review comments and wait for followers to catch up with leade…
siddhantsangwan May 23, 2022
f2c279e
save reference to balancer configuration in ContainerBalancer#setBala…
siddhantsangwan May 23, 2022
d1d090f
Merge branch 'master' into HDDS-6280
siddhantsangwan May 23, 2022
f592ebd
update testContainerBalancerPersistsConfigurationInAllSCMs
siddhantsangwan May 24, 2022
61620cc
add timed checks for isBalancerRunning and shouldRun in testContainer…
siddhantsangwan May 24, 2022
4b40d99
introduced ContainerBalancer#tryStopBalancer for better code reuse
siddhantsangwan May 25, 2022
066f284
use stop instead of stopBalancer in StorageContainerManager#stop
siddhantsangwan May 26, 2022
20fe445
Merge branch 'master' into HDDS-6280
siddhantsangwan May 26, 2022
58f4e81
add checks for LOG.isDebugEnabled()
siddhantsangwan Jun 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions hadoop-hdds/interface-client/src/main/proto/hdds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -431,3 +431,22 @@ message ReplicationManagerReportProto {
repeated KeyIntValue stat = 2;
repeated KeyContainerIDList statSample = 3;
}

message ContainerBalancerConfigurationProto {
optional string utilizationThreshold = 5;
optional int32 datanodesInvolvedMaxPercentagePerIteration = 6;
optional int64 sizeMovedMaxPerIteration = 7;
optional int64 sizeEnteringTargetMax = 8;
optional int64 sizeLeavingSourceMax = 9;
optional int32 iterations = 10;
optional string excludeContainers = 11;
optional int64 moveTimeout = 12;
optional int64 balancingIterationInterval = 13;
optional string includeDatanodes = 14;
optional string excludeDatanodes = 15;
optional bool moveNetworkTopologyEnable = 16;
optional bool triggerDuBeforeMoveEnable = 17;

required bool shouldRun = 18;
optional int32 nextIterationIndex = 19;
}
Loading