public class TestSnapshotRegionProcedure extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.master.HMaster |
master |
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription |
snapshotProto |
private org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtil |
TEST_UTIL |
private org.apache.hadoop.fs.Path |
workingDir |
private org.apache.hadoop.fs.FileSystem |
workingDirFs |
Constructor and Description |
---|
TestSnapshotRegionProcedure() |
Modifier and Type | Method and Description |
---|---|
private boolean |
assertRegionManifestGenerated(org.apache.hadoop.hbase.client.RegionInfo region) |
void |
setup() |
void |
teardown() |
void |
testRegionServerCrashWhileTakingSnapshotRegion() |
void |
testSimpleSnapshotRegion() |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtil TEST_UTIL
private org.apache.hadoop.hbase.master.HMaster master
private org.apache.hadoop.hbase.TableName tableName
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotProto
private org.apache.hadoop.fs.Path workingDir
private org.apache.hadoop.fs.FileSystem workingDirFs
public TestSnapshotRegionProcedure()
private boolean assertRegionManifestGenerated(org.apache.hadoop.hbase.client.RegionInfo region) throws Exception
Exception
public void testSimpleSnapshotRegion() throws Exception
Exception
public void testRegionServerCrashWhileTakingSnapshotRegion() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.