Class FavoredStochasticBalancer.FavoredNodeLoadPicker
java.lang.Object
org.apache.hadoop.hbase.master.balancer.CandidateGenerator
org.apache.hadoop.hbase.master.balancer.FavoredStochasticBalancer.FavoredNodeLoadPicker
- Enclosing class:
- FavoredStochasticBalancer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) BalanceAction
generate
(BalancerClusterState cluster) private int
pickLeastLoadedFNServer
(BalancerClusterState cluster, List<ServerName> favoredNodes, int currentServerIndex) private int
pickLeastLoadedServer
(BalancerClusterState cluster, int thisServer) private int
pickMostLoadedServer
(BalancerClusterState cluster) Methods inherited from class org.apache.hadoop.hbase.master.balancer.CandidateGenerator
getAction, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomRegions, pickRandomServer
-
Constructor Details
-
FavoredNodeLoadPicker
-
-
Method Details
-
generate
- Specified by:
generate
in classCandidateGenerator
-
pickLeastLoadedServer
-
pickLeastLoadedFNServer
private int pickLeastLoadedFNServer(BalancerClusterState cluster, List<ServerName> favoredNodes, int currentServerIndex) -
pickMostLoadedServer
-