hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11229) Change block cache percentage metrics to be doubles rather than ints
Date Wed, 21 May 2014 22:22:38 GMT

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

Mime
View raw message