Class TestHdfsSnapshotHRegion
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHdfsSnapshotHRegion
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
static final HBaseClassTestRule
private org.apache.hadoop.hdfs.DFSClient
static final byte[]
private static final String
private org.apache.hadoop.hbase.client.Table
static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
SNAPSHOT_NAME
- See Also:
-
table
-
TABLE_NAME
-
FAMILY
-
client
-
baseDir
-
-
Constructor Details
-
TestHdfsSnapshotHRegion
public TestHdfsSnapshotHRegion()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testOpeningReadOnlyRegionBasic
- Throws:
Exception
-
testSnapshottingWithTmpSplitsAndMergeDirectoriesPresent
- Throws:
Exception
-
openSnapshotRegion
private org.apache.hadoop.hbase.regionserver.HRegion openSnapshotRegion(org.apache.hadoop.hbase.client.RegionInfo firstRegion, org.apache.hadoop.fs.Path tableDir) throws IOException - Throws:
IOException
-