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
Exceptionprivate void testCreateWithFailoverAtStep(int step) throws Exception
Exceptionpublic void testDeleteWithFailover() throws Exception
Exceptionprivate void testDeleteWithFailoverAtStep(int step) throws Exception
Exceptionpublic void testTruncateWithFailover() throws Exception
Exceptionprivate void testTruncateWithFailoverAtStep(boolean preserveSplits, int step) throws Exception
Exceptionpublic void testDisableTableWithFailover() throws Exception
Exceptionprivate void testDisableTableWithFailoverAtStep(int step) throws Exception
Exceptionpublic void testEnableTableWithFailover() throws Exception
Exceptionprivate void testEnableTableWithFailoverAtStep(int step) throws Exception
Exceptionpublic static void testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover) throws Exception
Exceptionprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private org.apache.hadoop.fs.Path getRootDir()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.