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