Class TestRestoreSnapshotProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
org.apache.hadoop.hbase.master.procedure.TestRestoreSnapshotProcedure
-
Field Summary
Modifier and TypeFieldDescriptionprotected final byte[]
protected final byte[]
protected final byte[]
protected final byte[]
static final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
protected final int
protected final int
protected final int
protected final int
protected final int
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
private org.apache.hadoop.hbase.HTableDescriptor
protected final org.apache.hadoop.hbase.TableName
Fields inherited from class org.apache.hadoop.hbase.master.procedure.TestTableDDLProcedureBase
UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.HTableDescriptor
createHTableDescriptor
(org.apache.hadoop.hbase.TableName tableName, byte[]... family) private int
void
setup()
private void
void
tearDown()
void
void
void
void
void
private void
Methods 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:
setup
in classTestTableDDLProcedureBase
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classTestTableDDLProcedureBase
- Throws:
Exception
-
getNumReplicas
-
setupSnapshotAndUpdateTable
- Throws:
Exception
-
createHTableDescriptor
private static org.apache.hadoop.hbase.HTableDescriptor 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
-