public class TestMasterFailoverWithProcedures extends 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 testWALfencingWithoutWALRolling()
throws IOException
IOExceptionpublic void testWALfencingWithWALRolling()
throws IOException
IOExceptionpublic void testWALfencing(boolean walRolls)
throws IOException
IOExceptionpublic void testDisableTableWithFailover()
throws Exception
Exceptionpublic void testEnableTableWithFailover()
throws Exception
Exceptionpublic static <TState> void testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover, TState[] states) throws Exception
Exceptionpublic static void masterFailover(HBaseTestingUtility testUtil) throws Exception
Exceptionpublic static void waitBackupMaster(HBaseTestingUtility testUtil, HMaster oldMaster) throws Exception
Exception