HBASE-16185 TestReplicationSmallTests fails in master branch (Phil Yang)
This commit is contained in:
parent
9cf012cd00
commit
0875c35781
|
@ -732,7 +732,9 @@ public class TestReplicationSmallTests extends TestReplicationBase {
|
||||||
|
|
||||||
ClusterStatus status = admin.getClusterStatus();
|
ClusterStatus status = admin.getClusterStatus();
|
||||||
|
|
||||||
for (ServerName server : status.getServers()) {
|
for (JVMClusterUtil.RegionServerThread thread :
|
||||||
|
utility1.getHBaseCluster().getRegionServerThreads()) {
|
||||||
|
ServerName server = thread.getRegionServer().getServerName();
|
||||||
ServerLoad sl = status.getLoad(server);
|
ServerLoad sl = status.getLoad(server);
|
||||||
List<ReplicationLoadSource> rLoadSourceList = sl.getReplicationLoadSourceList();
|
List<ReplicationLoadSource> rLoadSourceList = sl.getReplicationLoadSourceList();
|
||||||
ReplicationLoadSink rLoadSink = sl.getReplicationLoadSink();
|
ReplicationLoadSink rLoadSink = sl.getReplicationLoadSink();
|
||||||
|
|
Loading…
Reference in New Issue