Class TestCacheOnWriteInSchema
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema
Tests
HFile cache-on-write functionality for data blocks, non-root index blocks, and
Bloom filter blocks, as specified by the column family.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate final TestCacheOnWriteInSchema.CacheOnWriteTypeprivate static final Stringprivate static byte[]private org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final intprivate static final intThe number of valid key types possible in a store fileprivate static final Randomprivate org.apache.hadoop.hbase.regionserver.HRegionprivate org.apache.hadoop.hbase.regionserver.HStoreprivate static byte[]private static final HBaseTestingUtilprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.KeyValue.TypegenerateKeyType(Random rand) static Collection<Object[]>private voidreadStoreFile(org.apache.hadoop.fs.Path path) voidsetUp()voidtearDown()voidprivate voidwriteStoreFile(org.apache.hadoop.hbase.regionserver.StoreFileWriter writer)
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
TEST_UTIL
-
DIR
-
table
-
family
-
NUM_KV
- See Also:
-
rand
-
NUM_VALID_KEY_TYPES
The number of valid key types possible in a store file -
cowType
-
conf
-
testDescription
-
region
-
store
-
fs
-
-
Constructor Details
-
TestCacheOnWriteInSchema
-
-
Method Details
-
getParameters
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
testCacheOnWriteInSchema
- Throws:
IOException
-
readStoreFile
- Throws:
IOException
-
generateKeyType
-
writeStoreFile
private void writeStoreFile(org.apache.hadoop.hbase.regionserver.StoreFileWriter writer) throws IOException - Throws:
IOException
-