Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 790E5E5BF for ; Thu, 7 Mar 2013 14:04:26 +0000 (UTC) Received: (qmail 83582 invoked by uid 500); 7 Mar 2013 14:04:25 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83263 invoked by uid 500); 7 Mar 2013 14:04:24 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 83091 invoked by uid 99); 7 Mar 2013 14:04:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 14:04:23 +0000 Date: Thu, 7 Mar 2013 14:04:23 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4544) Error in deleting blocks should not do check disk, for all types of errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595899#comment-13595899 ] Hudson commented on HDFS-4544: ------------------------------ Integrated in Hadoop-Mapreduce-trunk #1365 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1365/]) HDFS-4544. Error in deleting blocks should not do check disk, for all types of errors. Contributed by Arpit Agarwal. (Revision 1453436) Result = SUCCESS suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1453436 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java > Error in deleting blocks should not do check disk, for all types of errors > -------------------------------------------------------------------------- > > Key: HDFS-4544 > URL: https://issues.apache.org/jira/browse/HDFS-4544 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 1.1.1, 2.0.3-alpha > Reporter: Amareshwari Sriramadasu > Assignee: Arpit Agarwal > Fix For: 1.2.0, 0.23.7, 2.0.5-beta > > Attachments: HDFS-4544.branch-1.1.patch, HDFS-4544.patch, HDFS-4544.trunk.1.patch > > > The following code in Datanode.java > {noformat} > try { > if (blockScanner != null) { > blockScanner.deleteBlocks(toDelete); > } > data.invalidate(toDelete); > } catch(IOException e) { > checkDiskError(); > throw e; > } > {noformat} > causes check disk to happen in case of any errors during invalidate. > We have seen errors like : > 2013-03-02 00:08:28,849 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Unexpected error trying to delete block blk_-2973118207682441648_225738165. BlockInfo not found in volumeMap. > And all such errors trigger check disk, making the clients timeout. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira