From 9d93ccc938d7898264046c60bf1270d2f4f00319 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 21 Mar 2011 22:08:10 +0000 Subject: [PATCH] HBASE-3641 LruBlockCache.CacheStats.getHitCount() is not using the correct variable git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1083986 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 2 ++ .../java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 56e8aff9fef..ea1a3b35333 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -41,6 +41,8 @@ Release 0.91.0 - Unreleased HBASE-3665 tighten assertions for testBloomFilterSize HBASE-3662 REST server does not respect client supplied max versions when creating scanner + HBASE-3641 LruBlockCache.CacheStats.getHitCount() is not using the + correct variable IMPROVEMENTS HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) diff --git a/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java b/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java index 94879672360..baa6a848649 100644 --- a/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java +++ b/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java @@ -646,7 +646,7 @@ public class LruBlockCache implements BlockCache, HeapSize { } public long getHitCount() { - return hitCachingCount.get(); + return hitCount.get(); } public long getHitCachingCount() {