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 classprivate class(package private) final classCandidateGenerator to distribute colocated replicas across different servers.(package private) classprivate classPick favored nodes with the highest locality for a region with lowest locality.(package private) class(package private) classfinal class(package private) classclass(package private) classGenerates candidates which moves the replicas out of the region server for co-hosted region replicas(package private) classGenerates candidates which moves the replicas out of the rack for co-hosted region replicas in the same rack(package private) final classA simple candidate generator that attempts to move regions from the most-loaded servers to the least-loaded servers.classclassFields in org.apache.hadoop.hbase.master.balancer with type parameters of type CandidateGeneratorModifier and TypeFieldDescriptionprotected Map<Class<? extends CandidateGenerator>,CandidateGenerator> StochasticLoadBalancer.candidateGeneratorsprotected Map<Class<? extends CandidateGenerator>,CandidateGenerator> StochasticLoadBalancer.candidateGeneratorsprotected final Supplier<List<Class<? extends CandidateGenerator>>>StochasticLoadBalancer.shuffledGeneratorClassesprivate final Map<Class<? extends CandidateGenerator>,Double> StochasticLoadBalancer.weightsOfGeneratorsMethods in org.apache.hadoop.hbase.master.balancer that return CandidateGeneratorModifier and TypeMethodDescriptionprotected CandidateGeneratorFavoredStochasticBalancer.getRandomGenerator(BalancerClusterState cluster) Returns any candidate generator in randomprotected CandidateGeneratorStochasticLoadBalancer.getRandomGenerator(BalancerClusterState cluster) Select the candidate generator to use based on the cost of cost functions.private CandidateGeneratorStochasticLoadBalancer.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 CandidateGeneratorStochasticLoadBalancer.pickAnyGenerator(List<Class<? extends CandidateGenerator>> generatorClasses) voidCacheAwareLoadBalancer.CacheAwareCostFunction.updateWeight(Map<Class<? extends CandidateGenerator>, Double> weights) final voidCacheAwareLoadBalancer.CacheAwareRegionSkewnessCostFunction.updateWeight(Map<Class<? extends CandidateGenerator>, Double> weights) voidCostFunction.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 voidLocalityBasedCostFunction.updateWeight(Map<Class<? extends CandidateGenerator>, Double> weights) final voidRegionCountSkewCostFunction.updateWeight(Map<Class<? extends CandidateGenerator>, Double> weights) final voidRegionReplicaGroupingCostFunction.updateWeight(Map<Class<? extends CandidateGenerator>, Double> weights)