Class TestPrefetchPersistence
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.TestPrefetchPersistence
@Tag("org.apache.hadoop.hbase.testclassification.IOTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestPrefetchPersistence
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.io.hfile.bucket.BucketCacheprivate org.apache.hadoop.hbase.io.hfile.CacheConfig(package private) final longprivate org.apache.hadoop.conf.Configuration(package private) final int(package private) final int[]private static final intprivate org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerprivate static final intprivate static final int(package private) Stringprivate static final HBaseTestingUtil(package private) org.apache.hadoop.fs.Path(package private) final int(package private) final int -
Constructor Summary
ConstructorsConstructorDescriptionTestPrefetchPersistence(int constructedBlockSize, int[] constructedBlockSizes) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.KeyValue.TypegenerateKeyType(Random rand) static Stream<org.junit.jupiter.params.provider.Arguments>voidreadStoreFile(org.apache.hadoop.fs.Path storeFilePath) voidsetup()voidorg.apache.hadoop.fs.PathwriteStoreFile(String fname)
-
Field Details
-
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
-
-
Method Details
-
parameters
-
setup
- Throws:
IOException
-
testPrefetchPersistence
- Throws:
Exception
-
readStoreFile
- Throws:
Exception
-
writeStoreFile
- Throws:
IOException
-
generateKeyType
-