Class TestCloneSnapshotProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
org.apache.hadoop.hbase.master.procedure.TestCloneSnapshotProcedure
- Direct Known Subclasses:
TestCloneSnapshotProcedureFileBasedSFT
-
Field Summary
Modifier and TypeFieldDescriptionprotected final byte[]
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
Fields inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.client.TableDescriptor
createTableDescriptor
(org.apache.hadoop.hbase.TableName tableName, byte[]... family) private int
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
void
tearDown()
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
cleanupTest, getMaster, getMasterProcedureExecutor, resetProcExecutorTestingKillFlag, setup, setupCluster
-
Field Details
-
CLASS_RULE
-
LOG
-
CF
-
snapshot
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot
-
-
Constructor Details
-
TestCloneSnapshotProcedure
public TestCloneSnapshotProcedure()
-
-
Method Details
-
tearDown
- Overrides:
tearDown
in classTestTableDDLProcedureBase
- Throws:
Exception
-
getSnapshot
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription getSnapshot() throws Exception- Throws:
Exception
-
getNumReplicas
-
createTableDescriptor
private static org.apache.hadoop.hbase.client.TableDescriptor createTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family) -
testCloneSnapshot
- Throws:
Exception
-
testCloneSnapshotToSameTable
- Throws:
Exception
-
testRecoveryAndDoubleExecution
- Throws:
Exception
-
testRecoverWithRestoreAclFlag
- Throws:
Exception
-
testRollbackAndDoubleExecution
- Throws:
Exception
-