Details
Description
I was running the following test over a Distributed Cluster:
bin/hbase org.apache.hadoop.hbase.IntegrationTestsDriver IntegrationTestDataIngestSlowDeterministic
The IntegrationTestingUtility.restoreCluster() is called in the teardown phase of the test.
For a distributed cluster, it ends up calling DistributedHBaseCluster.restoreClusterStatus, which does the task
of restoring the cluster back to original state.
The restore steps done here, does not solve one specific case:
When the initial HBase Master is currently down, and the current HBase Master is different from the initial one.
You get into this flow:
//check whether current master has changed
if (!ServerName.isSameHostnameAndPort(initial.getMaster(), current.getMaster()))
In the above code path, the current backup masters are stopped, and the current active master is also stopped.
At this point, for the aforementioned usecase, none of the Hbase Masters would be available, hence the subsequent
attempts to do any operation over the cluster would fail, resulting in Test Failure.
Attachments
Attachments
Issue Links
- is a clone of
-
HBASE-8928 Make ChaosMonkey & LoadTest tools extensible, to allow addition of more actions and policies.
- Closed