public class TestMasterFailoverWithProcedures extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestMasterFailoverWithProcedures() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
private org.apache.hadoop.fs.Path |
getRootDir() |
void |
setup() |
private static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
void |
tearDown() |
void |
testCreateWithFailover() |
private void |
testCreateWithFailoverAtStep(int step) |
void |
testDeleteWithFailover() |
private void |
testDeleteWithFailoverAtStep(int step) |
void |
testDisableTableWithFailover() |
private void |
testDisableTableWithFailoverAtStep(int step) |
void |
testEnableTableWithFailover() |
private void |
testEnableTableWithFailoverAtStep(int step) |
static void |
testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil,
long procId,
int lastStepBeforeFailover) |
void |
testTruncateWithFailover() |
private void |
testTruncateWithFailoverAtStep(boolean preserveSplits,
int step) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
public TestMasterFailoverWithProcedures()
private static void setupConf(org.apache.hadoop.conf.Configuration conf)
public void testCreateWithFailover() throws Exception
Exception
private void testCreateWithFailoverAtStep(int step) throws Exception
Exception
public void testDeleteWithFailover() throws Exception
Exception
private void testDeleteWithFailoverAtStep(int step) throws Exception
Exception
public void testTruncateWithFailover() throws Exception
Exception
private void testTruncateWithFailoverAtStep(boolean preserveSplits, int step) throws Exception
Exception
public void testDisableTableWithFailover() throws Exception
Exception
private void testDisableTableWithFailoverAtStep(int step) throws Exception
Exception
public void testEnableTableWithFailover() throws Exception
Exception
private void testEnableTableWithFailoverAtStep(int step) throws Exception
Exception
public static void testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover) throws Exception
Exception
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private org.apache.hadoop.fs.Path getRootDir()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.