- <init>
Constructs a Disk Balancer object. This object takes care of reading a NodePlan
and executing it aga
- cancelPlan
Cancels a running plan.
- checkDiskBalancerEnabled
Throws if Disk balancer is disabled.
- createWorkPlan
Convert a node plan to DiskBalancerWorkItem that Datanode can execute.
- executePlan
Starts Executing the plan, exits when the plan is done executing.
- getBandwidth
Returns the current bandwidth.
- getStorageIDToVolumeBasePathMap
Returns volume UUID to volume base path map.
- getVolumeNames
Returns a volume ID to Volume base path map.
- queryWorkStatus
Returns the current work status of a previously submitted Plan.
- shutdown
Shutdown disk balancer services.
- shutdownExecutor
Shutdown the executor.
- submitPlan
Takes a client submitted plan and converts into a set of work items that can be
executed by the bloc