You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2016/11/07 17:33:12 UTC

[2/2] hbase git commit: HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Addendum by Anoop Sam John)

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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e60a7f6e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e60a7f6e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e60a7f6e

Branch: refs/heads/master
Commit: e60a7f6e7d25f86adeed4f0e61d3cd25ec29b0ae
Parents: 97ce30d
Author: Michael Stack <st...@apache.org>
Authored: Mon Nov 7 09:33:01 2016 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Mon Nov 7 09:33:01 2016 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e60a7f6e/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java
index fdd6b2c..5194fc3 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java
@@ -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);