You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2015/12/14 11:51:40 UTC

hbase git commit: HBASE-14936 CombinedBlockCache should overwrite CacheStats#rollMetricsPeriod(); addendum

Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 fb08834f5 -> 2b35976d1


HBASE-14936 CombinedBlockCache should overwrite CacheStats#rollMetricsPeriod(); addendum


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

Branch: refs/heads/branch-1.0
Commit: 2b35976d1f94d3dc5627f1a6b3471f3c0eaffdce
Parents: fb08834
Author: chenheng <ch...@apache.org>
Authored: Mon Dec 14 18:48:48 2015 +0800
Committer: chenheng <ch...@apache.org>
Committed: Mon Dec 14 18:48:48 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2b35976d/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java
index 9ec06c58..0b14c96 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java
@@ -122,7 +122,7 @@ public class CombinedBlockCache implements ResizableBlockCache, HeapSize {
     return lruCache.getBlockCount() + bucketCache.getBlockCount();
   }
 
-  private static class CombinedCacheStats extends CacheStats {
+  public static class CombinedCacheStats extends CacheStats {
     private final CacheStats lruCacheStats;
     private final CacheStats bucketCacheStats;