You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/09/09 09:52:48 UTC

[hbase] branch branch-2.2 updated: HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)

This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new a0a3578  HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)
a0a3578 is described below

commit a0a357855cb0cd99101ab6422234b88ff17669a8
Author: Peter Somogyi <ps...@apache.org>
AuthorDate: Mon Sep 9 11:50:54 2019 +0200

    HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)
    
    Signed-off-by: Zheng Hu <op...@gmail.com>
---
 .../apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
index 26b109a..3a64648 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
@@ -63,6 +63,7 @@ public class TestHRegionWithInMemoryFlush extends TestHRegion {
     for(int i = 0; i < inMemory.length; i++) {
       inMemory[i] = true;
     }
+    ChunkCreator.initialize(MemStoreLABImpl.CHUNK_SIZE_DEFAULT, false, 0, 0, 0, null);
     return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey,
         isReadOnly, durability, wal, inMemory, families);
   }