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:47 UTC

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


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

commit b2337c4c4d259bb1811a1839c29bd746206e121e
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);
   }