Class TestRestoreSnapshotProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
org.apache.hadoop.hbase.master.procedure.TestRestoreSnapshotProcedure
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]protected final byte[]protected final byte[]protected final byte[]static final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprotected final intprotected final intprotected final intprotected final intprotected final intprivate org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescriptionprivate org.apache.hadoop.hbase.client.TableDescriptorprotected final org.apache.hadoop.hbase.TableNameFields inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.client.TableDescriptorcreateHTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family) private intvoidsetup()private voidvoidtearDown()voidvoidvoidvoidvoidprivate voidMethods inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
cleanupTest, getMaster, getMasterProcedureExecutor, resetProcExecutorTestingKillFlag, setupCluster
-
Field Details
-
CLASS_RULE
-
LOG
-
snapshotTableName
-
CF1
-
CF2
-
CF3
-
CF4
-
rowCountCF1
- See Also:
-
rowCountCF2
- See Also:
-
rowCountCF3
- See Also:
-
rowCountCF4
- See Also:
-
rowCountCF1addition
- See Also:
-
snapshot
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot -
snapshotHTD
-
name
-
-
Constructor Details
-
TestRestoreSnapshotProcedure
public TestRestoreSnapshotProcedure()
-
-
Method Details
-
setup
- Overrides:
setupin classTestTableDDLProcedureBase- Throws:
Exception
-
tearDown
- Overrides:
tearDownin classTestTableDDLProcedureBase- Throws:
Exception
-
getNumReplicas
-
setupSnapshotAndUpdateTable
- Throws:
Exception
-
createHTableDescriptor
private static org.apache.hadoop.hbase.client.TableDescriptor createHTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family) -
testRestoreSnapshot
- Throws:
Exception
-
testRestoreSnapshotToDifferentTable
- Throws:
Exception
-
testRestoreSnapshotToEnabledTable
- Throws:
Exception
-
testRecoveryAndDoubleExecution
- Throws:
Exception
-
testRecoverWithRestoreAclFlag
- Throws:
Exception
-
validateSnapshotRestore
- Throws:
IOException
-