HBASE-25032 Do not assign regions to region server which has not called regionServerR...
commit741b4b4674be0c500bc7a474739d6481834c5e4a
authorDuo Zhang <zhangduo@apache.org>
Tue, 18 May 2021 00:08:03 +0000 (18 08:08 +0800)
committerGitHub <noreply@github.com>
Tue, 18 May 2021 00:08:03 +0000 (18 08:08 +0800)
tree9845c7216b77fbe14665f3431057d119b6323ee4
parent2126ec94f0032220fcccdca463f0f185e3653ace
HBASE-25032 Do not assign regions to region server which has not called regionServerReport yet (#3268)

Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
hbase-client/src/main/java/org/apache/hadoop/hbase/ServerMetricsBuilder.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterMetrics.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestAssignRegionToUninitializedRegionServer.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.java
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRefreshPeerWhileRegionServerRestarts.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsKillRS.java