Repository: hbase
Updated Branches:
  refs/heads/branch-2 7c2622baf -> a8e8cf6e1


HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju 
Nair); ADDENDUM


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a8e8cf6e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a8e8cf6e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a8e8cf6e

Branch: refs/heads/branch-2
Commit: a8e8cf6e167fa5b0c9e7bdfe48711f32571cddcc
Parents: 7c2622b
Author: Michael Stack <st...@apache.org>
Authored: Mon Sep 25 20:57:58 2017 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Mon Sep 25 20:58:30 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a8e8cf6e/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
index 64dc925..b89205c 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
@@ -737,6 +737,7 @@ public class CacheConfig {
   @VisibleForTesting
   static synchronized void clearGlobalInstances() {
     GLOBAL_L1_CACHE_INSTANCE = null;
+    GLOBAL_L2_CACHE_INSTANCE = null;
     GLOBAL_BLOCK_CACHE_INSTANCE = null;
   }
 }

Reply via email to