public class TestRegionSnapshotTask extends Object
FlushSnapshotSubprocedure.RegionSnapshotTask| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.fs.FileSystem |
fs |
private org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
rootDir |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestRegionSnapshotTask() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addRegionToSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot,
org.apache.hadoop.hbase.regionserver.HRegion region,
org.apache.hadoop.hbase.snapshot.SnapshotManifest manifest) |
private org.apache.hadoop.hbase.snapshot.SnapshotManifest.RegionVisitor |
createRegionVisitorWithDelay(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc,
org.apache.hadoop.fs.Path workingDir) |
static void |
setupBeforeClass() |
private org.apache.hadoop.hbase.client.Table |
setupTable(org.apache.hadoop.hbase.TableName tableName) |
static void |
tearDown() |
void |
testAddRegionWithCompactions()
Tests adding a region to the snapshot manifest while compactions are running on the region.
|
public static final HBaseClassTestRule CLASS_RULE
private final org.slf4j.Logger LOG
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.Path rootDir
public TestRegionSnapshotTask()
public static void setupBeforeClass() throws Exception
Exceptionpublic void testAddRegionWithCompactions() throws Exception
Exceptionprivate void addRegionToSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.snapshot.SnapshotManifest manifest) throws Exception
Exceptionprivate org.apache.hadoop.hbase.snapshot.SnapshotManifest.RegionVisitor createRegionVisitorWithDelay(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, org.apache.hadoop.fs.Path workingDir)
private org.apache.hadoop.hbase.client.Table setupTable(org.apache.hadoop.hbase.TableName tableName) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.