You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Paul Cavallaro (JIRA)" <ji...@apache.org> on 2012/06/26 03:32:43 UTC
[jira] [Commented] (HBASE-6220) PersistentMetricsTimeVaryingRate
gets used for non-time-based metrics
[ https://issues.apache.org/jira/browse/HBASE-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401085#comment-13401085 ]
Paul Cavallaro commented on HBASE-6220:
---------------------------------------
The "_avg_time" is hardcoded in org.apache.hadoop.metrics.util.MetricsTimeVaryingRate in hadoop-core. I could duplicate the functionality in order to change the String, or try to get a change pushed upstream. Both solutions seem like overkill. I also noticed that the underlying metrics package is deprecated and the metrics2 package seems to be the way forward. As I am a "noob" does anyone have thoughts on what the proper approach might be?
Thanks,
-Paul
> PersistentMetricsTimeVaryingRate gets used for non-time-based metrics
> ---------------------------------------------------------------------
>
> Key: HBASE-6220
> URL: https://issues.apache.org/jira/browse/HBASE-6220
> Project: HBase
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.96.0
> Reporter: David S. Wang
> Priority: Minor
> Labels: noob
>
> PersistentMetricsTimeVaryingRate gets used for metrics that are not time-based, leading to confusing names such as "avg_time" for compaction size, etc. You hav to read the code in order to understand that this is actually referring to bytes, not seconds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira