[
https://issues.apache.org/jira/browse/HADOOP-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635913#action_12635913
]
Hairong Kuang commented on HADOOP-4228:
---------------------------------------
The SimulatedDataNodeMetrics seems quite dummy, which is introduced for only
the testing purpose.
A side note: DataNodeStatics and DataNodeStaticsMBean collect bytesRead but not
bytesWritten. They should collect metrics bytesWritten as well.
> 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
> Attachments: HADOOP-4228-trunk.patch, HADOOP-4228.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.