You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/03/19 00:21:15 UTC

[jira] [Commented] (HBASE-7255) KV size metric went missing from StoreScanner.

    [ https://issues.apache.org/jira/browse/HBASE-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605790#comment-13605790 ] 

Ted Yu commented on HBASE-7255:
-------------------------------

If I understand the current implementation correctly, a MetricsStoreSource should be added hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver and implementations would be added:

./hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsStoreSourceImpl.java
./hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsStoreSourceImpl.java
                
> KV size metric went missing from StoreScanner.
> ----------------------------------------------
>
>                 Key: HBASE-7255
>                 URL: https://issues.apache.org/jira/browse/HBASE-7255
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Elliott Clark
>            Priority: Critical
>             Fix For: 0.95.0
>
>
> In trunk due to the metric refactor, at least the KV size metric went missing.
> See this code in StoreScanner.java:
> {code}
>     } finally {
>       if (cumulativeMetric > 0 && metric != null) {
>       }
>     }
> {code}
> Just an empty if statement, where the metric used to be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira