Class TestSnapshotProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSnapshotProcedure
- Direct Known Subclasses:
TestSnapshotProcedureBasicSnapshot
,TestSnapshotProcedureConcurrently
,TestSnapshotProcedureMasterRestarts
,TestSnapshotProcedureRIT
,TestSnapshotProcedureRSCrashes
,TestSnapshotProcedureSnapshotCorrupted
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected byte[]
static final HBaseClassTestRule
protected static final org.slf4j.Logger
protected org.apache.hadoop.hbase.master.HMaster
protected org.apache.hadoop.hbase.client.SnapshotDescription
protected String
protected org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
protected org.apache.hadoop.hbase.TableName
protected static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.master.procedure.SnapshotProcedure
getDelayedOnSpecificStateSnapshotProcedure
(org.apache.hadoop.hbase.master.procedure.SnapshotProcedure sp, org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.SnapshotState state) void
setup()
void
teardown()
<T extends org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>>
TwaitProcedureRunnableAndGetFirst
(Class<T> clazz, long timeout)
-
Field Details
-
LOG
-
CLASS_RULE
-
TEST_UTIL
-
master
-
TABLE_NAME
-
CF
-
SNAPSHOT_NAME
-
snapshot
-
snapshotProto
protected org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotProto
-
-
Constructor Details
-
TestSnapshotProcedure
public TestSnapshotProcedure()
-
-
Method Details
-
setup
- Throws:
Exception
-
waitProcedureRunnableAndGetFirst
public <T extends org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>> T waitProcedureRunnableAndGetFirst(Class<T> clazz, long timeout) throws IOException - Throws:
IOException
-
getDelayedOnSpecificStateSnapshotProcedure
protected org.apache.hadoop.hbase.master.procedure.SnapshotProcedure getDelayedOnSpecificStateSnapshotProcedure(org.apache.hadoop.hbase.master.procedure.SnapshotProcedure sp, org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.SnapshotState state) throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, org.apache.hadoop.hbase.procedure2.ProcedureYieldException, InterruptedException - Throws:
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
InterruptedException
-
teardown
- Throws:
Exception
-