hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8263) Master LogSplitting metrics update wrong counters
Date Thu, 04 Apr 2013 00:07:17 GMT

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

Ted Yu commented on HBASE-8263:
-------------------------------

Nice catch.
+1
                
> Master LogSplitting metrics update wrong counters
> -------------------------------------------------
>
>                 Key: HBASE-8263
>                 URL: https://issues.apache.org/jira/browse/HBASE-8263
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Minor
>             Fix For: 0.95.1
>
>         Attachments: hbase-8263.patch
>
>
> Wrong counters are updated as you can see in MetricsMasterSourceImpl.java#init() 
> {code}
>     splitTimeHisto = metricsRegistry.newHistogram(SPLIT_SIZE_NAME, SPLIT_SIZE_DESC);
>     splitSizeHisto = metricsRegistry.newHistogram(SPLIT_TIME_NAME, SPLIT_TIME_DESC);
> {code}

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

Mime
View raw message