HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Addendum by Anoop Sam John)

This commit is contained in:
Michael Stack 2016-11-07 09:33:01 -08:00
parent 97ce30d47e
commit e60a7f6e7d
1 changed files with 2 additions and 2 deletions

View File

@ -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);