Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 57106 invoked from network); 21 May 2008 19:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2008 19:58:19 -0000 Received: (qmail 57089 invoked by uid 500); 21 May 2008 19:58:18 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 57063 invoked by uid 500); 21 May 2008 19:58:18 -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 57052 invoked by uid 99); 21 May 2008 19:58:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 12:58:18 -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; Wed, 21 May 2008 19:57:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B8BAB234C123 for ; Wed, 21 May 2008 12:57:55 -0700 (PDT) Message-ID: <1638806962.1211399875755.JavaMail.jira@brutus> Date: Wed, 21 May 2008 12:57:55 -0700 (PDT) From: "lohit vijayarenu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3035) Data nodes should inform the name-node about block crc errors. In-Reply-To: <683931615.1205809464386.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-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] lohit vijayarenu updated HADOOP-3035: ------------------------------------- Status: Patch Available (was: Open) > Data nodes should inform the name-node about block crc errors. > -------------------------------------------------------------- > > Key: HADOOP-3035 > URL: https://issues.apache.org/jira/browse/HADOOP-3035 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.0 > Reporter: Konstantin Shvachko > Assignee: lohit vijayarenu > Attachments: HADOOP-3035-1.patch, HADOOP-3035-2.patch, HADOOP-3035-3.patch > > > Currently if a crc error occurs when data-node replicates a block to another node it throws an exception, and continues. > {code} > [junit] 2008-03-17 19:46:11,855 INFO dfs.DataNode (DataNode.java:transferBlocks(811)) - 127.0.0.1:3730 Starting thread to transfer block blk_-1962819020391742554 to 127.0.0.1:3740 > [junit] 2008-03-17 19:46:11,855 INFO dfs.DataNode (DataNode.java:writeBlock(1067)) - Receiving block blk_-1962819020391742554 src: /127.0.0.1:3791 dest: /127.0.0.1:3740 > [junit] 2008-03-17 19:46:11,855 INFO dfs.DataNode (DataNode.java:receiveBlock(2504)) - Exception in receiveBlock for block blk_-1962819020391742554 java.io.IOException: Unexpected checksum mismatch while writing blk_-1962819020391742554 from /127.0.0.1 > [junit] 2008-03-17 19:46:11,871 INFO dfs.DataNode (DataNode.java:run(2626)) - 127.0.0.1:3730:Transmitted block blk_-1962819020391742554 to /127.0.0.1:3740 > [junit] 2008-03-17 19:46:11,871 INFO dfs.DataNode (DataNode.java:writeBlock(1192)) - writeBlock blk_-1962819020391742554 received exception java.io.IOException: Unexpected checksum mismatch while writing blk_-1962819020391742554 from /127.0.0.1 > [junit] 2008-03-17 19:46:11,871 ERROR dfs.DataNode (DataNode.java:run(979)) - 127.0.0.1:3740:DataXceiver: java.io.IOException: Unexpected checksum mismatch while writing blk_-1962819020391742554 from /127.0.0.1 > [junit] at org.apache.hadoop.dfs.DataNode$BlockReceiver.receiveChunk(DataNode.java:2246) > [junit] at org.apache.hadoop.dfs.DataNode$BlockReceiver.receivePacket(DataNode.java:2416) > [junit] at org.apache.hadoop.dfs.DataNode$BlockReceiver.receiveBlock(DataNode.java:2474) > [junit] at org.apache.hadoop.dfs.DataNode$DataXceiver.writeBlock(DataNode.java:1173) > [junit] at org.apache.hadoop.dfs.DataNode$DataXceiver.run(DataNode.java:956) > [junit] at java.lang.Thread.run(Thread.java:595) > {code} > The data-node should report the error to the name-node so that the corrupted replica could be removed and replicated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.