Class TestCloneSnapshotProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
org.apache.hadoop.hbase.master.procedure.TestCloneSnapshotProcedure
- Direct Known Subclasses:
TestCloneSnapshotProcedureFileBasedSFT
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestCloneSnapshotProcedure
extends TestTableDDLProcedureBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]private static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescriptionFields inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static org.apache.hadoop.hbase.client.TableDescriptorcreateTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family) private intprivate org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescriptionstatic voidvoidtearDown()voidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
getMaster, getMasterProcedureExecutor, resetProcExecutorTestingKillFlag, setup, setupConf
-
Field Details
-
LOG
-
CF
-
snapshot
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot
-
-
Constructor Details
-
TestCloneSnapshotProcedure
public TestCloneSnapshotProcedure()
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
tearDown
- Overrides:
tearDownin 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
-