public class TestCloneSnapshotProcedure extends TestTableDDLProcedureBase
| Modifier and Type | Field and Description | 
|---|---|
protected byte[] | 
CF  | 
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.slf4j.Logger | 
LOG  | 
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription | 
snapshot  | 
UTIL| Constructor and Description | 
|---|
TestCloneSnapshotProcedure()  | 
| Modifier and Type | Method and Description | 
|---|---|
static org.apache.hadoop.hbase.HTableDescriptor | 
createHTableDescriptor(org.apache.hadoop.hbase.TableName tableName,
                      byte[]... family)  | 
private int | 
getNumReplicas()  | 
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription | 
getSnapshot()  | 
void | 
tearDown()  | 
void | 
testCloneSnapshot()  | 
void | 
testCloneSnapshotToSameTable()  | 
void | 
testRecoveryAndDoubleExecution()  | 
void | 
testRollbackAndDoubleExecution()  | 
cleanupTest, getMaster, getMasterProcedureExecutor, resetProcExecutorTestingKillFlag, setup, setupClusterpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected final byte[] CF
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot
public TestCloneSnapshotProcedure()
public void tearDown() throws Exception
tearDown in class TestTableDDLProcedureBaseExceptionprivate org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription getSnapshot() throws Exception
Exceptionprivate int getNumReplicas()
public static org.apache.hadoop.hbase.HTableDescriptor createHTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family)
public void testCloneSnapshot() throws Exception
Exceptionpublic void testCloneSnapshotToSameTable() throws Exception
Exceptionpublic void testRecoveryAndDoubleExecution() throws Exception
Exceptionpublic void testRollbackAndDoubleExecution() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.