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) class
private class
Pick favored nodes with the highest locality for a region with lowest locality.(package private) class
(package private) class
(package private) 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 rackFields 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()
Returns any candidate generator in randomprotected CandidateGenerator
StochasticLoadBalancer.getRandomGenerator()
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()
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> CacheAwareLoadBalancer.createCandidateGenerators()
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> FavoredStochasticBalancer.createCandidateGenerators()
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> FavoredStochasticBalancer.createCandidateGenerators()
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.createCandidateGenerators()
protected Map<Class<? extends CandidateGenerator>,
CandidateGenerator> StochasticLoadBalancer.createCandidateGenerators()
(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)