Class TestSnapshotRegionProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSnapshotRegionProcedure
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
private org.apache.hadoop.hbase.master.HMaster
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
private org.apache.hadoop.hbase.TableName
private static HBaseTestingUtil
private org.apache.hadoop.fs.Path
private org.apache.hadoop.fs.FileSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
assertRegionManifestGenerated
(org.apache.hadoop.hbase.client.RegionInfo region) void
setup()
void
teardown()
void
void
-
Field Details
-
LOG
-
CLASS_RULE
-
TEST_UTIL
-
master
-
tableName
-
snapshotProto
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotProto -
workingDir
-
workingDirFs
-
-
Constructor Details
-
TestSnapshotRegionProcedure
public TestSnapshotRegionProcedure()
-
-
Method Details
-
setup
- Throws:
Exception
-
assertRegionManifestGenerated
private boolean assertRegionManifestGenerated(org.apache.hadoop.hbase.client.RegionInfo region) throws Exception - Throws:
Exception
-
testSimpleSnapshotRegion
- Throws:
Exception
-
testRegionServerCrashWhileTakingSnapshotRegion
- Throws:
Exception
-
teardown
- Throws:
Exception
-