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.
-
ClassesClassDescriptionorg.apache.hadoop.hdfs.server.diskbalancer.datamodel.DiskBalancerClusterDiskBalancerCluster represents the nodes that we are working against.org.apache.hadoop.hdfs.server.diskbalancer.datamodel.DiskBalancerDataNodeDiskBalancerDataNode represents a DataNode that exists in the cluster.org.apache.hadoop.hdfs.server.diskbalancer.datamodel.DiskBalancerVolumeDiskBalancerVolume represents a volume in the DataNode.org.apache.hadoop.hdfs.server.diskbalancer.datamodel.DiskBalancerVolumeSetDiskBalancerVolumeSet is a collection of storage devices on the data node which are of similar StorageType.