- <init>
Construct a balancer. Initialize balancer. It sets the value of the threshold,
and builds the commun
- resetData
- run
main method of Balancer
- init
Given a datanode storage set, build a network topology and decide over-utilized
storages, above aver
- getRemaining
- runOneIteration
Run an iteration for all datanodes.
- checkKeytabAndInit
- choose4One
For the given datanode, choose a candidate and then schedule it.
- chooseCandidate
Choose a candidate for the given datanode.
- chooseStorageGroups
Decide all pairs according to the matcher.
- computeMaxSize2Move
- getCapacity