HBASE-16185 TestReplicationSmallTests fails in master branch (Phil Yang)

This commit is contained in:
tedyu 2016-07-10 23:28:32 -07:00
parent 9cf012cd00
commit 0875c35781
1 changed files with 3 additions and 1 deletions

View File

@ -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();