public static class TestHFileBlockHeaderCorruption.HFileTestRule extends org.junit.rules.ExternalResource
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.io.hfile.HFileContext |
context |
private org.apache.hadoop.hbase.fs.HFileSystem |
hfs |
private org.apache.hadoop.fs.Path |
path |
private HBaseTestingUtil |
testingUtility |
private org.junit.rules.TestName |
testName |
Constructor and Description |
---|
HFileTestRule(HBaseTestingUtil testingUtility,
org.junit.rules.TestName testName) |
Modifier and Type | Method and Description |
---|---|
protected void |
before() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.hbase.io.hfile.HFileContext |
getHFileContext() |
org.apache.hadoop.hbase.fs.HFileSystem |
getHFileSystem() |
org.apache.hadoop.fs.Path |
getPath() |
SeekableByteChannel |
getRWChannel() |
private final HBaseTestingUtil testingUtility
private final org.apache.hadoop.hbase.fs.HFileSystem hfs
private final org.apache.hadoop.hbase.io.hfile.HFileContext context
private final org.junit.rules.TestName testName
private org.apache.hadoop.fs.Path path
public HFileTestRule(HBaseTestingUtil testingUtility, org.junit.rules.TestName testName) throws IOException
IOException
public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.hbase.fs.HFileSystem getHFileSystem()
public org.apache.hadoop.hbase.io.hfile.HFileContext getHFileContext()
public org.apache.hadoop.fs.Path getPath()
public SeekableByteChannel getRWChannel() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.