Class TestCompactionArchiveIOException
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionArchiveIOException
Tests that archiving compacted files behaves correctly when encountering exceptions.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final String
org.junit.rules.TestName
private org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) void
setup()
void
tearDown()
void
-
Field Details
-
CLASS_RULE
-
ERROR_FILE
- See Also:
-
testUtil
-
testDir
-
name
-
-
Constructor Details
-
TestCompactionArchiveIOException
public TestCompactionArchiveIOException()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testRemoveCompactedFilesWithException
- Throws:
Exception
-
initHRegion
private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) throws IOException - Throws:
IOException
-