hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Baranau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4050) Update HBase metrics framework to metrics2 framework
Date Sat, 07 Jul 2012 19:21:35 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Baranau updated HBASE-4050:
--------------------------------

    Attachment: 4050-metrics-v3.patch

Added metrics v2 to HRegionServer. Renamed "v2" from the initial patch as per may previous
comment.

HRegionServerMetrics for now has only one gauge "regions #".

Added simplest unit-test. Also checked (locally) that new metrics are exposed via JMX.

I did integration with metrics2 by analogy with DataNode metrics, some things (esp. naming)
should be reviewed.

Next things:
* make it work with hadoop 2.0+ (the shim)
* test at least one sink, e.g. FileSink, in addition to checking if things exposed by JMX
* (?) test perf affect. Not sure this is needed...
* (?) add more metrics in new classes. I think we decided not to do it as a part of this issue,
as metrics in general should be reworked.
* review patch + fix found issues
                
> Update HBase metrics framework to metrics2 framework
> ----------------------------------------------------
>
>                 Key: HBASE-4050
>                 URL: https://issues.apache.org/jira/browse/HBASE-4050
>             Project: HBase
>          Issue Type: New Feature
>          Components: metrics
>    Affects Versions: 0.90.4
>         Environment: Java 6
>            Reporter: Eric Yang
>            Assignee: Alex Baranau
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: 4050-metrics-v2.patch, 4050-metrics-v3.patch, HBASE-4050.patch
>
>
> Metrics Framework has been marked deprecated in Hadoop 0.20.203+ and 0.22+, and it might
get removed in future Hadoop release.  Hence, HBase needs to revise the dependency of MetricsContext
to use Metrics2 framework.

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

        

Mime
View raw message