| Interface | Description |
|---|---|
| MetricsBalancerSource |
| Class | Description |
|---|---|
| BalancerChore |
Chore that will call HMaster.balance
HMaster.balance() when
needed. |
| BaseLoadBalancer |
The base class for load balancers.
|
| BaseLoadBalancer.Cluster |
An efficient array based implementation similar to ClusterState for keeping
the status of the cluster in terms of region assignment and distribution.
|
| BaseLoadBalancer.Cluster.Action |
An action to move or swap a region
|
| BaseLoadBalancer.Cluster.AssignRegionAction | |
| BaseLoadBalancer.Cluster.MoveRegionAction | |
| BaseLoadBalancer.Cluster.SwapRegionsAction | |
| BaseLoadBalancer.DefaultRackManager | |
| ClusterLoadState |
Class used to hold the current state of the cluster and how balanced it is.
|
| ClusterStatusChore |
Chore that will feed the balancer the cluster status.
|
| FavoredNodeAssignmentHelper |
Helper class for
FavoredNodeLoadBalancer that has all the intelligence
for racks, meta scans, etc. |
| FavoredNodeLoadBalancer |
An implementation of the
LoadBalancer
that assigns favored nodes for each region. |
| FavoredNodesPlan |
This class contains the mapping information between each region and
its favored region server list.
|
| LoadBalancerFactory |
The class that creates a load balancer from a conf.
|
| MetricsBalancer |
Faced for exposing metrics about the balancer.
|
| MetricsBalancerSourceImpl | |
| RegionInfoComparator |
The following comparator assumes that RegionId from HRegionInfo can represent
the age of the region - larger RegionId means the region is younger.
|
| RegionLocationFinder |
This will find where data for a region is located in HDFS.
|
| ServerAndLoad |
Data structure that holds servername and 'load'.
|
| SimpleLoadBalancer |
Makes decisions about the placement and movement of Regions across
RegionServers.
|
| SimpleLoadBalancer.BalanceInfo |
Stores additional per-server information about the regions added/removed
during the run of the balancing algorithm.
|
| StochasticLoadBalancer |
This is a best effort load balancer.
|
| StochasticLoadBalancer.CandidateGenerator |
Generates a candidate action to be applied to the cluster for cost function search
|
| StochasticLoadBalancer.CostFromRegionLoadFunction |
Base class the allows writing costs functions from rolling average of some
number from RegionLoad.
|
| StochasticLoadBalancer.CostFunction |
Base class of StochasticLoadBalancer's Cost Functions.
|
| StochasticLoadBalancer.LoadCandidateGenerator | |
| StochasticLoadBalancer.LocalityBasedCandidateGenerator | |
| StochasticLoadBalancer.LocalityCostFunction |
Compute a cost of a potential cluster configuration based upon where
StoreFiles are located. |
| StochasticLoadBalancer.MemstoreSizeCostFunction |
Compute the cost of total memstore size.
|
| StochasticLoadBalancer.MoveCostFunction |
Given the starting state of the regions and a potential ending state
compute cost based upon the number of regions that have moved.
|
| StochasticLoadBalancer.PrimaryRegionCountSkewCostFunction |
Compute the cost of a potential cluster state from skew in number of
primary regions on a cluster.
|
| StochasticLoadBalancer.RandomCandidateGenerator | |
| StochasticLoadBalancer.ReadRequestCostFunction |
Compute the cost of total number of read requests The more unbalanced the higher the
computed cost will be.
|
| StochasticLoadBalancer.RegionCountSkewCostFunction |
Compute the cost of a potential cluster state from skew in number of
regions on a cluster.
|
| StochasticLoadBalancer.RegionReplicaCandidateGenerator |
Generates candidates which moves the replicas out of the region server for
co-hosted region replicas
|
| StochasticLoadBalancer.RegionReplicaHostCostFunction |
A cost function for region replicas.
|
| StochasticLoadBalancer.RegionReplicaRackCandidateGenerator |
Generates candidates which moves the replicas out of the rack for
co-hosted region replicas in the same rack
|
| StochasticLoadBalancer.RegionReplicaRackCostFunction |
A cost function for region replicas for the rack distribution.
|
| StochasticLoadBalancer.StoreFileCostFunction |
Compute the cost of total open storefiles size.
|
| StochasticLoadBalancer.TableSkewCostFunction |
Compute the cost of a potential cluster configuration based upon how evenly
distributed tables are.
|
| StochasticLoadBalancer.WriteRequestCostFunction |
Compute the cost of total number of write requests.
|
| Enum | Description |
|---|---|
| BaseLoadBalancer.Cluster.Action.Type | |
| FavoredNodesPlan.Position |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.