Package org.apache.hadoop.hbase.io.hfile
Class TestHFileBlockHeaderCorruption.HFileTestRule
java.lang.Object
org.junit.rules.ExternalResource
org.apache.hadoop.hbase.io.hfile.TestHFileBlockHeaderCorruption.HFileTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Enclosing class:
- TestHFileBlockHeaderCorruption
public static class TestHFileBlockHeaderCorruption.HFileTestRule
extends org.junit.rules.ExternalResource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.io.hfile.HFileContext
private final org.apache.hadoop.hbase.fs.HFileSystem
private org.apache.hadoop.fs.Path
private final HBaseTestingUtility
private final org.junit.rules.TestName
-
Constructor Summary
ConstructorDescriptionHFileTestRule
(HBaseTestingUtility testingUtility, org.junit.rules.TestName testName) -
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
after, apply
-
Field Details
-
testingUtility
-
hfs
-
context
-
testName
-
path
-
-
Constructor Details
-
HFileTestRule
public HFileTestRule(HBaseTestingUtility testingUtility, org.junit.rules.TestName testName) throws IOException - Throws:
IOException
-
-
Method Details
-
getConfiguration
-
getHFileSystem
-
getHFileContext
-
getPath
-
getRWChannel
- Throws:
IOException
-
before
- Overrides:
before
in classorg.junit.rules.ExternalResource
- Throws:
Throwable
-