org.apache.hadoop.hdfs.server.diskbalancer.datamodel (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.diskbalancer.datamodel

# Package org.apache.hadoop.hdfs.server.diskbalancer.datamodel

package org.apache.hadoop.hdfs.server.diskbalancer.datamodel
Disk Balancer Data Model is the Data Model for the cluster that Disk Balancer is working against. This information is read directly from NameNode or from a user supplied json model file. Here is the overview of the model maintained by diskBalancer. DiskBalancerCluster is a list of DiskBalancerDataNodes. DiskBalancerDataNodes is a collection of DiskBalancerVolumeSets DiskBalancerVolumeSets is a collection of DiskBalancerVolumes DiskBalancerVolumes represents actual volumes on DataNodes.

- Related Packages
  Package
  Description
  org.apache.hadoop.hdfs.server.diskbalancer
  Disk Balancer connects to a `.DataNode` and attempts to spread data across all volumes evenly.
  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.planner
  Planner takes a DiskBalancerVolumeSet, threshold and computes a series of steps that lead to an even data distribution between volumes of this DiskBalancerVolumeSet.
- Classes
  Class
  Description
  DiskBalancerCluster
  DiskBalancerCluster represents the nodes that we are working against.
  DiskBalancerDataNode
  DiskBalancerDataNode represents a DataNode that exists in the cluster.
  DiskBalancerVolume
  DiskBalancerVolume represents a volume in the DataNode.
  DiskBalancerVolumeSet
  DiskBalancerVolumeSet is a collection of storage devices on the data node which are of similar StorageType.