HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Addendum by Anoop Sam John)
This commit is contained in:
parent
97ce30d47e
commit
e60a7f6e7d
|
@ -171,8 +171,8 @@ public class TestMemStoreLAB {
|
|||
@Test
|
||||
public void testLABChunkQueue() throws Exception {
|
||||
HeapMemStoreLAB mslab = new HeapMemStoreLAB();
|
||||
// by default setting, there should be no chunk queue initialized
|
||||
assertNull(mslab.getPooledChunks());
|
||||
// by default setting, there should be no chunks initialized in the pool
|
||||
assertTrue(mslab.getPooledChunks().isEmpty());
|
||||
// reset mslab with chunk pool
|
||||
Configuration conf = HBaseConfiguration.create();
|
||||
conf.setDouble(MemStoreChunkPool.CHUNK_POOL_MAXSIZE_KEY, 0.1);
|
||||
|
|
Loading…
Reference in New Issue