hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mac Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4228) dfs datanode metrics, bytes_read, bytes_written overflows due to incorrect type used.
Date Wed, 08 Oct 2008 00:12:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637722#action_12637722
] 

Mac Yang commented on HADOOP-4228:
----------------------------------


> Ganglia has no Long type - perhaps a solution would be to map Longs in Ganglia to a float?

Short of supporting the Long data type, this seems like a reasonable thing to do. 

Brian, would you mind coming up with the patch for the Ganglia context?

> dfs datanode metrics, bytes_read, bytes_written overflows due to incorrect type used.
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4228
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.18.2, 0.19.0
>         Environment: Red Hat Enterprise Linux AS release 4 (Nahant Update 5), Java 1.6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.18.2, 0.19.0
>
>         Attachments: HADOOP-4228-trunk.patch, HADOOP-4228.patch, metricsLong.patch, metricsLong1-br18.patch,
metricsLong1.patch
>
>
> bytes_read, and bytes_written metrics are using int (MetricsTimeVaryingInt) as counter.
 This type is too small to store the bytes_read and bytes_written metrics.  Recommend to change
this to long (metricsLongValue).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message