public class TestHdfsSnapshotHRegion extends Object
Modifier and Type | Field and Description |
---|---|
private String |
baseDir |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hdfs.DFSClient |
client |
static byte[] |
FAMILY |
private static String |
SNAPSHOT_NAME |
private org.apache.hadoop.hbase.client.Table |
table |
static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestHdfsSnapshotHRegion() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.regionserver.HRegion |
openSnapshotRegion(org.apache.hadoop.hbase.client.RegionInfo firstRegion,
org.apache.hadoop.fs.Path tableDir) |
void |
setUp() |
void |
tearDown() |
void |
testOpeningReadOnlyRegionBasic() |
void |
testSnapshottingWithTmpSplitsAndMergeDirectoriesPresent() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final String SNAPSHOT_NAME
private org.apache.hadoop.hbase.client.Table table
public static final org.apache.hadoop.hbase.TableName TABLE_NAME
public static final byte[] FAMILY
private org.apache.hadoop.hdfs.DFSClient client
public TestHdfsSnapshotHRegion()
public void testOpeningReadOnlyRegionBasic() throws Exception
Exception
public void testSnapshottingWithTmpSplitsAndMergeDirectoriesPresent() throws Exception
Exception
private org.apache.hadoop.hbase.regionserver.HRegion openSnapshotRegion(org.apache.hadoop.hbase.client.RegionInfo firstRegion, org.apache.hadoop.fs.Path tableDir) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.