Uses of Package
org.apache.hadoop.hbase.master.balancer
Package
Description
-
ClassDescriptionThe base class for load balancers.This is the cluster we want to balance.
-
ClassDescriptionChore that will call HMaster.balance
HMaster.balance()
when needed.This is the cluster we want to balance.Chore that will feed the balancer the cluster status.Store the balancer state. -
ClassDescriptionAn action to move or swap a regionAn efficient array based implementation similar to ClusterState for keeping the status of the cluster in terms of region assignment and distribution.Wrapper class for the few fields required by the
StochasticLoadBalancer
from the fullRegionMetrics
.The base class for load balancers.Generates a candidate action to be applied to the cluster for cost function searchThis is the cluster we want to balance.Class used to hold the current state of the cluster and how balanced it is.Class to be used for the subset of RegionLoad costs that should be treated as rates.Base class the allows writing costs functions from rolling average of some number from RegionLoad.Base class of StochasticLoadBalancer's Cost Functions.A helper class to compute a scaled cost usingDescriptiveStatistics()
.Compute a cost of a potential cluster configuration based upon whereHStoreFile
s are located.Faced for exposing metrics about the balancer.This metrics balancer uses extended source for stochastic load balancer to report its related metrics to JMX.This interface extends the basic metrics balancer source to add a function to report metrics that related to stochastic load balancer.This will find where data for a region is located in HDFS.The following comparator assumes that RegionId from HRegionInfo can represent the age of the region - larger RegionId means the region is younger.Generates candidates which moves the replicas out of the region server for co-hosted region replicasA cost function for region replicas.A cost function for region replicas.A cost function for region replicas for the rack distribution.Data structure that holds servername and 'load'.Stores additional per-server information about the regions added/removed during the run of the balancing algorithm.This is a best effort load balancer. -