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:
parent
bb783d7678
commit
515d19c52e
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue