You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/05/22 00:22:38 UTC

[jira] [Updated] (HBASE-11229) Change block cache percentage metrics to be doubles rather than ints

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

stack updated HBASE-11229:
--------------------------

    Attachment: 11229.txt

Try this.  Also renames the metric in jmx from

-  String BLOCK_CACHE_HIT_PERCENT = "blockCountHitPercent";
+  String BLOCK_CACHE_HIT_PERCENT = "blockCacheCountHitPercent";

... all other blockcache metrics have the 'blockCache' prefix but this one.

> Change block cache percentage metrics to be doubles rather than ints
> --------------------------------------------------------------------
>
>                 Key: HBASE-11229
>                 URL: https://issues.apache.org/jira/browse/HBASE-11229
>             Project: HBase
>          Issue Type: Sub-task
>          Components: metrics
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.99.0
>
>         Attachments: 11229.txt
>
>
> See parent issue.  Small changes in the hit percentage can have large implications, even when movement is inside a single percent: i.e. going from 99.11 to 99.87 percent.  As is, percents are ints.  Make them doubles.



--
This message was sent by Atlassian JIRA
(v6.2#6252)