| 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 | Description |
|---|---|---|
java.util.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 | Description |
|---|---|---|
static NodePlan |
NodePlan.parseJson(java.lang.String json) |
Parses a Json string and converts to NodePlan.
|
NodePlan |
GreedyPlanner.plan(DiskBalancerDataNode node) |
Computes a node plan for the given node.
|
NodePlan |
Planner.plan(DiskBalancerDataNode node) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
GreedyPlanner.balanceVolumeSet(DiskBalancerDataNode node,
DiskBalancerVolumeSet vSet,
NodePlan plan) |
Computes Steps to make a DiskBalancerVolumeSet Balanced.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.