public class TestCacheConfig extends Object
CacheConfig does as expected.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestCacheConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testBucketCacheConfigL1L2Setup()
Assert that when BUCKET_CACHE_COMBINED_KEY is false, the non-default, that we deploy
LruBlockCache as L1 with a BucketCache for L2.
|
void |
testCacheConfigDefaultLRUBlockCache() |
void |
testDisableCacheDataBlock() |
void |
testFileBucketCacheConfig() |
void |
testL2CacheWithInvalidBucketSize() |
void |
testOffHeapBucketCacheConfig()
Assert that the caches are deployed with CombinedBlockCache and of the appropriate sizes.
|
public static final HBaseClassTestRule CLASS_RULE
public TestCacheConfig()
public void testDisableCacheDataBlock() throws IOException
IOExceptionpublic void testCacheConfigDefaultLRUBlockCache()
public void testOffHeapBucketCacheConfig()
public void testFileBucketCacheConfig() throws IOException
IOExceptionpublic void testBucketCacheConfigL1L2Setup()
public void testL2CacheWithInvalidBucketSize()
Copyright © 2007–2019 Cloudera. All rights reserved.