Hadoop Common
  1. Hadoop Common
  2. HADOOP-7742

Evolve metrics2 in 0.23 and trunk to allow coexistence with 0.20-security releases

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
    • Tags:
      metrics2
    • Target Version/s:

      Description

      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:

      1. Rename AbstractMetric to ImmutableMetric, which also address a common question sink implementer ask about thread safety.
      2. Rename MetricsRecord to ImmutableMetrics, ditto.
      3. Rename MetricsVisitor to MetricVisitor.

      We better do it before 0.23 is released or, it will be an "incompatible" change.

        Issue Links

          Activity

          Hide
          Harsh J added a comment -

          Hi Luke,

          So this is an "incompatible change" now? What would we need to do to help projects such as HBase at this time?

          Show
          Harsh J added a comment - Hi Luke, So this is an "incompatible change" now? What would we need to do to help projects such as HBase at this time?

            People

            • Assignee:
              Unassigned
              Reporter:
              Luke Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Development