public class TestPrefetchPersistence extends Object
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.io.hfile.bucket.BucketCache |
bucketCache |
private org.apache.hadoop.hbase.io.hfile.CacheConfig |
cacheConf |
(package private) long |
capacitySize |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
int |
constructedBlockSize |
int[] |
constructedBlockSizes |
private static int |
DATA_BLOCK_SIZE |
private org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NUM_KV |
private static int |
NUM_VALID_KEY_TYPES |
(package private) String |
prefetchPersistencePath |
private static HBaseTestingUtil |
TEST_UTIL |
(package private) org.apache.hadoop.fs.Path |
testDir |
(package private) int |
writerQLen |
(package private) int |
writeThreads |
Constructor and Description |
---|
TestPrefetchPersistence() |
Modifier and Type | Method and Description |
---|---|
void |
closeStoreFile(org.apache.hadoop.fs.Path path) |
static Iterable<Object[]> |
data() |
static org.apache.hadoop.hbase.KeyValue.Type |
generateKeyType(Random rand) |
void |
readStoreFile(org.apache.hadoop.fs.Path storeFilePath,
long offset) |
void |
setup() |
void |
testPrefetchPersistence() |
org.apache.hadoop.fs.Path |
writeStoreFile(String fname) |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public int constructedBlockSize
public int[] constructedBlockSizes
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtil TEST_UTIL
private static final int NUM_VALID_KEY_TYPES
private static final int DATA_BLOCK_SIZE
private static final int NUM_KV
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf
private org.apache.hadoop.fs.FileSystem fs
String prefetchPersistencePath
org.apache.hadoop.fs.Path testDir
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache bucketCache
final long capacitySize
final int writeThreads
final int writerQLen
public TestPrefetchPersistence()
public void setup() throws IOException
IOException
public void testPrefetchPersistence() throws Exception
Exception
public void closeStoreFile(org.apache.hadoop.fs.Path path) throws Exception
Exception
public void readStoreFile(org.apache.hadoop.fs.Path storeFilePath, long offset) throws Exception
Exception
public org.apache.hadoop.fs.Path writeStoreFile(String fname) throws IOException
IOException
public static org.apache.hadoop.hbase.KeyValue.Type generateKeyType(Random rand)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.