hadoop-common-dev mailing list archives

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

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

Eric Yang commented on HADOOP-4228:
-----------------------------------

+1 for Hairong's patch.  The patch provides real test cases.

> 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