Package org.apache.hadoop.hbase.master
Class TestMasterFailover
java.lang.Object
org.apache.hadoop.hbase.master.TestMasterFailover
@Tag("org.apache.hadoop.hbase.testclassification.FlakeyTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestMasterFailover
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTestMethod(org.junit.jupiter.api.TestInfo testInfo) voidTest meta in transition when master failover.voidSimple test of master failover.
-
Field Details
-
LOG
-
testMethodName
-
-
Constructor Details
-
TestMasterFailover
public TestMasterFailover()
-
-
Method Details
-
setTestMethod
-
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
-