Metrics.report() metricValue parameter type should be float, not long
---------------------------------------------------------------------
Key: HADOOP-955
URL: https://issues.apache.org/jira/browse/HADOOP-955
Project: Hadoop
Issue Type: Improvement
Components: metrics
Affects Versions: 0.10.1
Reporter: Nigel Daley
Assigned To: David Bowen
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.