| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.server.diskbalancer.datamodel | Disk Balancer Data Model is the Data Model for the cluster that
 Disk Balancer is working against. | 
| org.apache.hadoop.hdfs.server.diskbalancer.planner | Planner takes a DiskBalancerVolumeSet, threshold and
 computes a series of steps that lead to an even data
 distribution between volumes of this DiskBalancerVolumeSet. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<NodePlan> | DiskBalancerCluster. computePlan(double thresholdPercent)Compute plan takes a node and constructs a planner that creates a plan that
 we would like to follow. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NodePlan | NodePlan. parseJson(String json)Parses a Json string and converts to NodePlan. | 
| NodePlan | Planner. plan(DiskBalancerDataNode node) | 
| NodePlan | GreedyPlanner. plan(DiskBalancerDataNode node)Computes a node plan for the given node. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GreedyPlanner. balanceVolumeSet(DiskBalancerDataNode node,
                DiskBalancerVolumeSet vSet,
                NodePlan plan)Computes Steps to make a DiskBalancerVolumeSet Balanced. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.