Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7742

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23.0
    • None
    • metrics
    • metrics2

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vicaya Luke Lu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: