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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private final TestCacheOnWriteInSchema.CacheOnWriteType
private static final String
private static byte[]
private org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
private static final int
The number of valid key types possible in a store fileprivate static final Random
private org.apache.hadoop.hbase.regionserver.HRegion
private org.apache.hadoop.hbase.regionserver.HStore
private static byte[]
private static final HBaseTestingUtil
private final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.KeyValue.Type
generateKeyType
(Random rand) static Collection<Object[]>
private void
readStoreFile
(org.apache.hadoop.fs.Path path) void
setUp()
void
tearDown()
void
private void
writeStoreFile
(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
-