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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.12.0
    • Component/s: metrics
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: