| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.diskbalancer.command |
Commands for disk balancer command line tool.
|
| org.apache.hadoop.hdfs.server.diskbalancer.connectors |
Connectors package is a set of logical connectors that connect
to various data sources to read the hadoop cluster information.
|
| 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 |
|---|---|---|
protected java.util.List<DiskBalancerDataNode> |
Command.getNodes(java.lang.String listArg) |
Returns a DiskBalancer Node list from the Cluster or null if not found.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
Command.populatePathNames(DiskBalancerDataNode node) |
Reads the Physical path of the disks we are balancing.
|
protected void |
Command.setNodesToProcess(DiskBalancerDataNode node) |
Sets the nodes to process.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
Command.setNodesToProcess(java.util.List<DiskBalancerDataNode> nodes) |
Sets the list of Nodes to process.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<DiskBalancerDataNode> |
ClusterConnector.getNodes() |
getNodes function returns a list of DiskBalancerDataNodes.
|
java.util.List<DiskBalancerDataNode> |
JsonNodeConnector.getNodes() |
getNodes function connects to a cluster definition file
and returns nodes defined in that file.
|
| Modifier and Type | Method | Description |
|---|---|---|
DiskBalancerDataNode |
DiskBalancerCluster.getNodeByIPAddress(java.lang.String ipAddresss) |
Returns a node by IP Address.
|
DiskBalancerDataNode |
DiskBalancerCluster.getNodeByName(java.lang.String hostName) |
Returns a node by hostName.
|
DiskBalancerDataNode |
DiskBalancerCluster.getNodeByUUID(java.lang.String uuid) |
Returns a node by UUID.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<DiskBalancerDataNode> |
DiskBalancerCluster.getNodes() |
Gets all DataNodes in the Cluster.
|
java.util.List<DiskBalancerDataNode> |
DiskBalancerCluster.getNodesToProcess() |
Returns the Nodes to Process which is the real list of nodes processed by
diskBalancer.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
DiskBalancerDataNode.compareTo(DiskBalancerDataNode that) |
Compares this object with the specified object for order.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DiskBalancerCluster.setNodes(java.util.List<DiskBalancerDataNode> clusterNodes) |
Sets the list of nodes of this cluster.
|
void |
DiskBalancerCluster.setNodesToProcess(java.util.List<DiskBalancerDataNode> dnNodesToProcess) |
Sets the nodes to process.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
GreedyPlanner.balanceVolumeSet(DiskBalancerDataNode node,
DiskBalancerVolumeSet vSet,
NodePlan plan) |
Computes Steps to make a DiskBalancerVolumeSet Balanced.
|
static Planner |
PlannerFactory.getPlanner(java.lang.String plannerName,
DiskBalancerDataNode node,
double threshold) |
Gets a planner object.
|
NodePlan |
GreedyPlanner.plan(DiskBalancerDataNode node) |
Computes a node plan for the given node.
|
NodePlan |
Planner.plan(DiskBalancerDataNode node) |
| Constructor | Description |
|---|---|
GreedyPlanner(double threshold,
DiskBalancerDataNode node) |
Constructs a greedy planner.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.