You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "puleya7 (JIRA)" <ji...@apache.org> on 2019/05/06 07:17:00 UTC
[jira] [Created] (HBASE-22367) Extra commas in
LruBlockCache.logStats between hitRatio and cachingAccesses if hitCount is
not 0
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)