HBASE-26028 The view as json page shows exception when using TinyLfuBlockCache (#3420)

This commit is contained in:
bsglz 2021-06-30 11:36:00 +08:00 committed by GitHub
parent 51893b9ba3
commit 147b030c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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.