Evolve metrics2 in 0.23 and trunk to allow coexistence with 0.20-security
releases
----------------------------------------------------------------------------------
Key: HADOOP-7742
URL: https://issues.apache.org/jira/browse/HADOOP-7742
Project: Hadoop Common
Issue Type: Improvement
Components: metrics
Affects Versions: 0.23.0
Reporter: Luke Lu
Fix For: 0.23.0
HADOOP-7734 expressed the desire to support downstream projects that depends on
both 0.23+ and 0.20-security releases.
In order to achieve that we need to evolve the 0.23/trunk API a little to avoid
name conflicts:
# Rename AbstractMetric to ImmutableMetric, which also address a common
question sink implementer ask about thread safety.
# Rename MetricsRecord to ImmutableMetrics, ditto.
# Rename MetricsVisitor to MetricVisitor.
We better do it before 0.23 is released or, it will be an "incompatible" change.
--
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