public class TestMasterFailoverWithProcedures
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestMasterFailoverWithProcedures() |
| Modifier and Type | Method and Description |
|---|---|
static void |
masterFailover(HBaseTestingUtility testUtil) |
void |
setup() |
void |
tearDown() |
void |
testCreateWithFailover() |
void |
testDeleteWithFailover() |
void |
testDisableTableWithFailover() |
void |
testEnableTableWithFailover() |
static <TState> void |
testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil,
long procId,
int lastStepBeforeFailover,
TState[] states) |
void |
testTruncateWithFailover() |
void |
testWALfencing(boolean walRolls) |
void |
testWALfencingWithoutWALRolling()
Tests proper fencing in case the current WAL store is fenced
|
void |
testWALfencingWithWALRolling()
Tests proper fencing in case the current WAL store does not receive writes until after the
new WAL does a couple of WAL rolls.
|
void |
testWalRecoverLease() |
static void |
waitBackupMaster(HBaseTestingUtility testUtil,
HMaster oldMaster) |
protected static final HBaseTestingUtility UTIL
public void setup()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testWalRecoverLease()
throws java.lang.Exception
java.lang.Exceptionpublic void testWALfencingWithoutWALRolling()
throws java.io.IOException
java.io.IOExceptionpublic void testWALfencingWithWALRolling()
throws java.io.IOException
java.io.IOExceptionpublic void testWALfencing(boolean walRolls)
throws java.io.IOException
java.io.IOExceptionpublic void testCreateWithFailover()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteWithFailover()
throws java.lang.Exception
java.lang.Exceptionpublic void testTruncateWithFailover()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisableTableWithFailover()
throws java.lang.Exception
java.lang.Exceptionpublic void testEnableTableWithFailover()
throws java.lang.Exception
java.lang.Exceptionpublic static <TState> void testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover, TState[] states) throws java.lang.Exception
java.lang.Exceptionpublic static void masterFailover(HBaseTestingUtility testUtil) throws java.lang.Exception
java.lang.Exceptionpublic static void waitBackupMaster(HBaseTestingUtility testUtil, HMaster oldMaster) throws java.lang.Exception
java.lang.Exception