HBASE-8404 Extra commas in LruBlockCache.logStats

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1478965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-05-03 20:31:30 +00:00
parent bb783d7678
commit 515d19c52e
1 changed files with 7 additions and 7 deletions

View File

@ -718,7 +718,7 @@ public class LruBlockCache implements BlockCache, HeapSize {
"cachingAccesses=" + stats.getRequestCachingCount() + ", " +
"cachingHits=" + stats.getHitCachingCount() + ", " +
"cachingHitsRatio=" +
(stats.getHitCachingCount() == 0 ? "0" : (StringUtils.formatPercent(stats.getHitCachingRatio(), 2)+ ", ")) + ", " +
(stats.getHitCachingCount() == 0 ? "0,": (StringUtils.formatPercent(stats.getHitCachingRatio(), 2) + ", ")) +
"evictions=" + stats.getEvictionCount() + ", " +
"evicted=" + stats.getEvictedCount() + ", " +
"evictedPerRun=" + stats.evictedPerEviction());