This is an automated email from the ASF dual-hosted git repository.
wangzheng 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 b90fbb7 HBASE-26028 The view as json page shows exception when using
TinyLfuBlockCache (#3420)
b90fbb7 is described below
commit b90fbb77c6c05cf8a44fb1b0ad73134de2bbd055
Author: bsglz <[email protected]>
AuthorDate: Wed Jun 30 11:36:00 2021 +0800
HBASE-26028 The view as json page shows exception when using
TinyLfuBlockCache (#3420)
(cherry picked from commit 147b030c1f46f35bbb72e2cf80ede85f7559bb5f)
---
.../java/org/apache/hadoop/hbase/io/hfile/TinyLfuBlockCache.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/TinyLfuBlockCache.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/TinyLfuBlockCache.java
index 6f914f5..e5e2e8f 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/TinyLfuBlockCache.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/TinyLfuBlockCache.java
@@ -61,14 +61,14 @@ public final class TinyLfuBlockCache implements
FirstLevelBlockCache {
private static final long DEFAULT_MAX_BLOCK_SIZE = 16L * 1024L * 1024L;
private static final int STAT_THREAD_PERIOD_SECONDS = 5 * 60;
- private final Eviction<BlockCacheKey, Cacheable> policy;
- private final ScheduledExecutorService statsThreadPool;
+ private transient final Eviction<BlockCacheKey, Cacheable> policy;
+ private transient final ScheduledExecutorService statsThreadPool;
private final long maxBlockSize;
private final CacheStats stats;
- private BlockCache victimCache;
+ private transient BlockCache victimCache;
- final Cache<BlockCacheKey, Cacheable> cache;
+ transient final Cache<BlockCacheKey, Cacheable> cache;
/**
* Creates a block cache.