puleya7 created HBASE-22367: ------------------------------- Summary: Extra commas in LruBlockCache.logStats between hitRatio and cachingAccesses if hitCount is not 0 Key: HBASE-22367 URL: https://issues.apache.org/jira/browse/HBASE-22367 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 1.2.12, 2.1.4, 1.3.4, 1.4.10, 1.5.1 Reporter: puleya7
LruBlockCache#logStats() {code:java} "hitRatio=" + (stats.getHitCount() == 0 ? "0" : (StringUtils.formatPercent(stats.getHitRatio(), 2)+ ", ")) + ", " + "cachingAccesses=" {code} if hitCount is not 0, the log will have 2 commas between hitRatio and cachingAccesses -- This message was sent by Atlassian JIRA (v7.6.3#76005)