You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by re...@apache.org on 2019/10/12 06:50:39 UTC
[hbase] branch branch-2 updated: HBASE-23056 Block count is 0 when
BucketCache using persistent IOEngine and retrieve from file
This is an automated email from the ASF dual-hosted git repository.
reidchan 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 595bcda HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
595bcda is described below
commit 595bcda9c34fa6e24b6cce2ab4be4ee057983b1f
Author: zbq.dean <zb...@gmail.com>
AuthorDate: Fri Sep 20 17:28:43 2019 +0800
HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
Signed-off-by: Reid Chan <re...@apache.org>
---
.../main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java | 1 +
1 file changed, 1 insertion(+)
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 7d8f582..790b93d 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
@@ -1094,6 +1094,7 @@ public class BucketCache implements BlockCache, HeapSize {
}
parsePB(BucketCacheProtos.BucketCacheEntry.parseDelimitedFrom(in));
bucketAllocator = new BucketAllocator(cacheCapacity, bucketSizes, backingMap, realCacheSize);
+ blockNumber.add(backingMap.size());
}
}