HBASE-19516 IntegrationTestBulkLoad and IntegrationTestImportTsv run into 'java.lang.RuntimeException: DistributedHBaseCluster@1bb564e2 not an instance of MiniHBaseCluster' (Ankit)

This commit is contained in:
tedyu 2017-12-14 18:37:55 -08:00
parent f070c381e2
commit 1d8a601166
1 changed files with 2 additions and 1 deletions

View File

@ -3282,7 +3282,8 @@ public class HBaseTestingUtility extends HBaseZKTestingUtility {
ServerName serverName = ServerName serverName =
ServerName.valueOf(Bytes.toString(server).replaceFirst(":", ",") + "," + ServerName.valueOf(Bytes.toString(server).replaceFirst(":", ",") + "," +
Bytes.toLong(startCode)); Bytes.toLong(startCode));
if (getHBaseCluster().isKilledRS(serverName)) { if (!getHBaseClusterInterface().isDistributedCluster()
&& getHBaseCluster().isKilledRS(serverName)) {
return false; return false;
} }
} }