Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 11209 invoked from network); 3 Oct 2008 19:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 19:56:41 -0000 Received: (qmail 26667 invoked by uid 500); 3 Oct 2008 19:56:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 26639 invoked by uid 500); 3 Oct 2008 19:56:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 26610 invoked by uid 99); 3 Oct 2008 19:56:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 12:56:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 19:55:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D06A234C213 for ; Fri, 3 Oct 2008 12:55:44 -0700 (PDT) Message-ID: <634631316.1223063744379.JavaMail.jira@brutus> Date: Fri, 3 Oct 2008 12:55:44 -0700 (PDT) From: "Sanjay Radia (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4228) dfs datanode metrics, bytes_read, bytes_written overflows due to incorrect type used. In-Reply-To: <924422997.1221868004194.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636721#action_12636721 ] Sanjay Radia commented on HADOOP-4228: -------------------------------------- +1 > 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, metricsLong.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.