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:50:59 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


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

commit ac8fe1627a7db7e31f54318a3e94da06b30f0760
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 ca7629b..8c2d6e3 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
@@ -56,6 +56,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);
   }