HBASE-19516 IntegrationTestBulkLoad and IntegrationTestImportTsv run into 'java.lang.RuntimeException: DistributedHBaseCluster@1bb564e2 not an instance of MiniHBaseCluster' (Ankit)
This commit is contained in:
parent
661491b56b
commit
deba43b156
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue