From 5215e49df07ffc1c2f12907792ffd81e3c65634a Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 27 Jul 2010 19:59:01 +0000 Subject: [PATCH] HBASE-1729 Move cache stats out of RS log and into metrics git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979834 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9d157c32491..784cb15bbeb 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 @@ -95,7 +95,7 @@ public class LruBlockCache implements BlockCache, HeapSize { static final float DEFAULT_MEMORY_FACTOR = 0.25f; /** Statistics thread */ - static final int statThreadPeriod = 60; + static final int statThreadPeriod = 60 * 5; /** Concurrent map (the cache) */ private final ConcurrentHashMap map;