hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11767) [0.94] Unnecessary garbage produced by schema metrics during scanning
Date Sun, 17 Aug 2014 06:20:18 GMT

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

Hudson commented on HBASE-11767:
--------------------------------

SUCCESS: Integrated in HBase-0.94 #1402 (See [https://builds.apache.org/job/HBase-0.94/1402/])
HBASE-11767 [0.94] Unnecessary garbage produced by schema metrics during scanning. (larsh:
rev 0ea4b86b07b32d46b23f4f35de032370d64dd021)
* src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java


> [0.94] Unnecessary garbage produced by schema metrics during scanning
> ---------------------------------------------------------------------
>
>                 Key: HBASE-11767
>                 URL: https://issues.apache.org/jira/browse/HBASE-11767
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.23
>
>         Attachments: 11767.txt
>
>
> Near the end of StoreScanner.next(...) we find this gem:
> {code}
>     } finally {
>       if (cumulativeMetric > 0 && metric != null) {
>         RegionMetricsStorage.incrNumericMetric(this.metricNamePrefix + metric,
>             cumulativeMetric);
>       }
>     }
> {code}
> So, for each row generated we build up a new metric string, that will be identical for
each invocation of the StoreScanner anyway (a store scanner is valid for at most one region
and one operation).



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

Mime
View raw message