[ 
https://issues.apache.org/jira/browse/HBASE-22367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

puleya7 updated HBASE-22367:
----------------------------
    Attachment: HBASE-22367

> 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
>
>  
> 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)

Reply via email to