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