hadoop-common-dev mailing list archives

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

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

Brian Bockelman commented on HADOOP-4228:
-----------------------------------------

Changing the type to Long breaks Ganglia metrics reporting (there's a static mapping of Java
type -> Ganglia type; there's no current Long type, meaning the map returns null and causes
a NPE).

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

See also:
HADOOP-4137
HADOOP-3422

> 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