File tree 1 file changed +2
-2
lines changed
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ protected void suspendRs(ServerName server) throws IOException {
197
197
getLogger ().info ("Suspending regionserver {}" , server );
198
198
cluster .suspendRegionServer (server );
199
199
if (!(cluster instanceof MiniHBaseCluster )) {
200
- cluster .waitForRegionServerToStop (server , killRsTimeout );
200
+ cluster .waitForRegionServerToSuspend (server , killRsTimeout );
201
201
}
202
202
getLogger ().info ("Suspending regionserver {}. Reported num of rs:{}" , server ,
203
203
cluster .getClusterMetrics ().getLiveServerMetrics ().size ());
@@ -207,7 +207,7 @@ protected void resumeRs(ServerName server) throws IOException {
207
207
getLogger ().info ("Resuming regionserver {}" , server );
208
208
cluster .resumeRegionServer (server );
209
209
if (!(cluster instanceof MiniHBaseCluster )) {
210
- cluster .waitForRegionServerToStart (server . getHostname (), server . getPort () , startRsTimeout );
210
+ cluster .waitForRegionServerToResume (server , startRsTimeout );
211
211
}
212
212
getLogger ().info ("Resuming regionserver {}. Reported num of rs:{}" , server ,
213
213
cluster .getClusterMetrics ().getLiveServerMetrics ().size ());
You can’t perform that action at this time.
0 commit comments