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:09 -08:00
parent 661491b56b
commit deba43b156
1 changed files with 2 additions and 1 deletions

View File

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