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

Metrics.report() metricValue parameter type should be float, not long

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.10.1
    • 0.12.0
    • metrics
    • None

    Description

      org.apache.hadoop.metrics.Metrics.report() takes a long metricValue parameter that gets mapped by Java in the method implementation to MetricsRecord.setMetric(String,float) method. This should be made explicit in the Metrics.report() method parameters by changing the type of metricValue to float.

      Attachments

        Activity

          People

            dbowen David Bowen
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: