HBASE-25802 Miscellaneous style improvements for load balancer related classes (...
commit96fefce9c3fe9e300fd7dfc5cba490707352660b
authorDuo Zhang <zhangduo@apache.org>
Fri, 23 Apr 2021 07:20:27 +0000 (23 15:20 +0800)
committerGitHub <noreply@github.com>
Fri, 23 Apr 2021 07:20:27 +0000 (23 15:20 +0800)
tree1256633262a6ea1930c32cabb4933c7722fece41
parent996862c1cc752267cbb1aa30a714ebba5801b132
HBASE-25802 Miscellaneous style improvements for load balancer related classes (#3192)

Signed-off-by: Yulin Niu <niuyulin@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/CandidateGenerator.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/FavoredStochasticBalancer.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/RandomCandidateGenerator.java [new file with mode: 0644]
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/RegionReplicaCandidateGenerator.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/RegionReplicaRackCandidateGenerator.java [new file with mode: 0644]
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestBaseLoadBalancer.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerHeterogeneousCost.java