Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 36268 invoked from network); 24 Jun 2010 01:04:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 01:04:11 -0000 Received: (qmail 83596 invoked by uid 500); 24 Jun 2010 01:04:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83511 invoked by uid 500); 24 Jun 2010 01:04:11 -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 83503 invoked by uid 99); 24 Jun 2010 01:04:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 01:04:11 +0000 X-ASF-Spam-Status: No, hits=-1541.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 01:04:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5O13oxq008590 for ; Thu, 24 Jun 2010 01:03:50 GMT Message-ID: <428079.30451277341430245.JavaMail.jira@thor> Date: Wed, 23 Jun 2010 21:03:50 -0400 (EDT) From: "Rodrigo Schmidt (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1259) getCorruptFiles() should double check blocks that are not really corrupted In-Reply-To: <2797433.5041277252154949.JavaMail.jira@thor> 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-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881987#action_12881987 ] Rodrigo Schmidt commented on HDFS-1259: --------------------------------------- It might be a little complicated, but yes. > getCorruptFiles() should double check blocks that are not really corrupted > -------------------------------------------------------------------------- > > Key: HDFS-1259 > URL: https://issues.apache.org/jira/browse/HDFS-1259 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.22.0 > Reporter: Rodrigo Schmidt > Fix For: 0.22.0 > > > the getCorruptFiles() api is based on blocks that are in the queue of under-replicated blocks. However, this queue might be outdated and report blocks that are safe, specially during restarts when block reports might get delayed. > getCorruptFiles() should double check if the block is really corrupted based on blocksMap before reporting it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.