Package org.apache.hadoop.hbase.master
Class TestMasterFailover
java.lang.Object
org.apache.hadoop.hbase.master.TestMasterFailover
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test meta in transition when master failover.void
Simple test of master failover.
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
-
Constructor Details
-
TestMasterFailover
public TestMasterFailover()
-
-
Method Details
-
testSimpleMasterFailover
Simple test of master failover.Starts with three masters. Kills a backup master. Then kills the active master. Ensures the final master becomes active and we can still contact the cluster.
- Throws:
Exception
-
testMetaInTransitionWhenMasterFailover
Test meta in transition when master failover. This test used to manipulate region state up in zk. That is not allowed any more in hbase2 so I removed that messing. That makes this test anemic.- Throws:
Exception
-