You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/01/30 00:14:49 UTC

[jira] Created: (HADOOP-955) Metrics.report() metricValue parameter type should be float, not long

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.


[jira] Resolved: (HADOOP-955) Metrics.report() metricValue parameter type should be float, not long

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley resolved HADOOP-955.
--------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.12.0

This issue was resolved by HADOOP-954

> 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
>             Fix For: 0.12.0
>
>
> 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.