HBASE-26028 The view as json page shows exception when using TinyLfuBlockCache (#3420)
(cherry picked from commit 147b030c1f
)
This commit is contained in:
parent
c5a6e19be0
commit
399b58e7c6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue