You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/09/26 03:58:14 UTC

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

Repository: hbase
Updated Branches:
  refs/heads/master f54cc1ca5 -> 2ceeb54c9


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/2ceeb54c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2ceeb54c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2ceeb54c

Branch: refs/heads/master
Commit: 2ceeb54c92cecc80c318af6b1655435b83bf7493
Parents: f54cc1c
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:57:58 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/2ceeb54c/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;
   }
 }