[
https://issues.apache.org/jira/browse/HBASE-22367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833660#comment-16833660
]
puleya7 commented on HBASE-22367:
---------------------------------
similar to HBASE-8404
> 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.4.10, 1.3.4, 2.1.4, 1.2.12, 1.5.1
> Reporter: puleya7
> Priority: Minor
> Attachments: HBASE-22367.patch
>
>
>
> 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)