Class TestCompactionArchiveIOException
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionArchiveIOException
Tests that archiving compacted files behaves correctly when encountering exceptions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final Stringorg.junit.rules.TestNameprivate org.apache.hadoop.fs.Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) voidsetup()voidtearDown()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
-