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 6f914f56a65..e5e2e8fb632 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 policy; - private final ScheduledExecutorService statsThreadPool; + private transient final Eviction policy; + private transient final ScheduledExecutorService statsThreadPool; private final long maxBlockSize; private final CacheStats stats; - private BlockCache victimCache; + private transient BlockCache victimCache; - final Cache cache; + transient final Cache cache; /** * Creates a block cache.