You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by wc...@apache.org on 2024/09/16 17:14:35 UTC

(hbase) branch branch-2 updated: HBASE-28841: Modify default value of hbase.bucketcache.persistence.chunksize to 10K (#6252)

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

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


The following commit(s) were added to refs/heads/branch-2 by this push:
     new d355c9518fe HBASE-28841: Modify default value of hbase.bucketcache.persistence.chunksize to 10K (#6252)
d355c9518fe is described below

commit d355c9518feb3d2c79340b098c8bbab9cdeae423
Author: jhungund <10...@users.noreply.github.com>
AuthorDate: Mon Sep 16 22:17:00 2024 +0530

    HBASE-28841: Modify default value of hbase.bucketcache.persistence.chunksize to 10K (#6252)
    
    Signed-off-by: Wellington Chevreuil <wc...@apache.org>
---
 .../main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
index 3b39a8787ea..9c4fd2c40f3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
@@ -143,7 +143,7 @@ public class BucketCache implements BlockCache, HeapSize {
   final static int DEFAULT_WRITER_THREADS = 3;
   final static int DEFAULT_WRITER_QUEUE_ITEMS = 64;
 
-  final static long DEFAULT_BACKING_MAP_PERSISTENCE_CHUNK_SIZE = 10000000;
+  final static long DEFAULT_BACKING_MAP_PERSISTENCE_CHUNK_SIZE = 10000;
 
   // Store/read block data
   transient final IOEngine ioEngine;