Class LoadCandidateGenerator
java.lang.Object
org.apache.hadoop.hbase.master.balancer.CandidateGenerator
org.apache.hadoop.hbase.master.balancer.LoadCandidateGenerator
- Direct Known Subclasses:
CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) BalanceAction
generate
(BalancerClusterState cluster) private int
pickLeastLoadedServer
(BalancerClusterState cluster, int thisServer) private int
pickMostLoadedServer
(BalancerClusterState cluster, int thisServer) Methods inherited from class org.apache.hadoop.hbase.master.balancer.CandidateGenerator
getAction, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomRegions, pickRandomServer
-
Constructor Details
-
LoadCandidateGenerator
-
-
Method Details
-
generate
- Specified by:
generate
in classCandidateGenerator
-
pickLeastLoadedServer
-
pickMostLoadedServer
-