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.
-
ClassesClassDescriptionDiskBalancerCluster represents the nodes that we are working against.DiskBalancerDataNode represents a DataNode that exists in the cluster.DiskBalancerVolume represents a volume in the DataNode.DiskBalancerVolumeSet is a collection of storage devices on the data node which are of similar StorageType.