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:53:27 UTC
[hbase] branch branch-1 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-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 4a0442d HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
4a0442d is described below
commit 4a0442d14eddc509fb5ca6c5a369c3a7c1b25064
Author: zbq.dean <zb...@gmail.com>
AuthorDate: Fri Sep 20 17:31:13 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 daf96ef..041179a 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
@@ -1120,6 +1120,7 @@ public class BucketCache implements BlockCache, HeapSize {
bucketAllocator = allocator;
deserialiserMap = deserMap;
backingMap = backingMapFromFile;
+ blockNumber.set(backingMap.size());
} finally {
if (ois != null) {
ois.close();