Uses of Class
org.apache.hadoop.hbase.master.balancer.CandidateGenerator
Packages that use CandidateGenerator
-
Uses of CandidateGenerator in org.apache.hadoop.hbase.master.balancer
Subclasses of CandidateGenerator in org.apache.hadoop.hbase.master.balancerModifier and TypeClassDescriptionprivate class
private class
(package private) final class
CandidateGenerator to distribute colocated replicas across different servers.(package private) class
private class
Pick favored nodes with the highest locality for a region with lowest locality.(package private) class
(package private) class
final class
(package private) class
class
(package private) class
Generates candidates which moves the replicas out of the region server for co-hosted region replicas(package private) class
Generates candidates which moves the replicas out of the rack for co-hosted region replicas in the same rack(package private) final class
A simple candidate generator that attempts to move regions from the most-loaded servers to the least-loaded servers.class
class
Fields in org.apache.hadoop.hbase.master.balancer with type parameters of type CandidateGeneratorModifier and TypeFieldDescriptionprotected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.candidateGenerators
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.candidateGenerators
protected final Supplier<List<Class<? extends CandidateGenerator>>>
StochasticLoadBalancer.shuffledGeneratorClasses
private final Map<Class<? extends CandidateGenerator>,
Double> StochasticLoadBalancer.weightsOfGenerators
Methods in org.apache.hadoop.hbase.master.balancer that return CandidateGeneratorModifier and TypeMethodDescriptionprotected CandidateGenerator
FavoredStochasticBalancer.getRandomGenerator
(BalancerClusterState cluster) Returns any candidate generator in randomprotected CandidateGenerator
StochasticLoadBalancer.getRandomGenerator
(BalancerClusterState cluster) Select the candidate generator to use based on the cost of cost functions.private CandidateGenerator
StochasticLoadBalancer.pickAnyGenerator
(List<Class<? extends CandidateGenerator>> generatorClasses) Methods in org.apache.hadoop.hbase.master.balancer that return types with arguments of type CandidateGeneratorModifier and TypeMethodDescriptionprotected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> CacheAwareLoadBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> CacheAwareLoadBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> FavoredStochasticBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> FavoredStochasticBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.createCandidateGenerators
(org.apache.hadoop.conf.Configuration conf) (package private) Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.getCandidateGenerators()
(package private) Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.getCandidateGenerators()
(package private) Pair<CandidateGenerator,
BalanceAction> StochasticLoadBalancer.nextAction
(BalancerClusterState cluster) Method parameters in org.apache.hadoop.hbase.master.balancer with type arguments of type CandidateGeneratorModifier and TypeMethodDescriptionprivate CandidateGenerator
StochasticLoadBalancer.pickAnyGenerator
(List<Class<? extends CandidateGenerator>> generatorClasses) void
CacheAwareLoadBalancer.CacheAwareCostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights) final void
CacheAwareLoadBalancer.CacheAwareRegionSkewnessCostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights) void
CostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights) Add the cost of this cost function to the weight of the candidate generator that is optimized for this cost function.final void
LocalityBasedCostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights) final void
RegionCountSkewCostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights) final void
RegionReplicaGroupingCostFunction.updateWeight
(Map<Class<? extends CandidateGenerator>, Double> weights)