Class TestPrefetchPersistence
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.TestPrefetchPersistence
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.io.hfile.bucket.BucketCache
private org.apache.hadoop.hbase.io.hfile.CacheConfig
(package private) final long
static final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
int
int[]
private static final int
private org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
private static final int
(package private) String
private static final HBaseTestingUtility
(package private) org.apache.hadoop.fs.Path
(package private) final int
(package private) final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondata()
static org.apache.hadoop.hbase.KeyValue.Type
generateKeyType
(Random rand) void
readStoreFile
(org.apache.hadoop.fs.Path storeFilePath) void
setup()
void
org.apache.hadoop.fs.Path
writeStoreFile
(String fname)
-
Field Details
-
CLASS_RULE
-
name
-
constructedBlockSize
-
constructedBlockSizes
-
LOG
-
TEST_UTIL
-
NUM_VALID_KEY_TYPES
-
DATA_BLOCK_SIZE
- See Also:
-
NUM_KV
- See Also:
-
conf
-
cacheConf
-
fs
-
prefetchPersistencePath
-
testDir
org.apache.hadoop.fs.Path testDir -
bucketCache
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache bucketCache -
capacitySize
- See Also:
-
writeThreads
- See Also:
-
writerQLen
- See Also:
-
-
Constructor Details
-
TestPrefetchPersistence
public TestPrefetchPersistence()
-
-
Method Details
-
data
-
setup
- Throws:
IOException
-
testPrefetchPersistence
- Throws:
Exception
-
readStoreFile
- Throws:
Exception
-
writeStoreFile
- Throws:
IOException
-
generateKeyType
-