Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 17077 invoked from network); 16 Jun 2007 01:08:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 01:08:47 -0000 Received: (qmail 19486 invoked by uid 500); 16 Jun 2007 01:08:50 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 19455 invoked by uid 500); 16 Jun 2007 01:08:50 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 19446 invoked by uid 99); 16 Jun 2007 01:08:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 18:08:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 18:08:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 049DC71419B for ; Fri, 15 Jun 2007 18:08:26 -0700 (PDT) Message-ID: <26452080.1181956106015.JavaMail.jira@brutus> Date: Fri, 15 Jun 2007 18:08:26 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1497) Possibility of duplicate blockids if dead-datanodes come back up after corresponding files were deleted In-Reply-To: <5168539.1181942966274.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-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505419 ] Konstantin Shvachko commented on HADOOP-1497: --------------------------------------------- See HADOOP-158 > Possibility of duplicate blockids if dead-datanodes come back up after corresponding files were deleted > ------------------------------------------------------------------------------------------------------- > > Key: HADOOP-1497 > URL: https://issues.apache.org/jira/browse/HADOOP-1497 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assignee: dhruba borthakur > > Suppose a datanode D has a block B that belongs to file F. Suppose the datanode D dies and the namenode replicates those blocks to other datanodes. No, suppose the user deletes file F. The namenode removes all the blocks that belonged to file F. Now, suppose a new file F1 is created and the namenode generates the same blockid B for this new file F1. > Suppose the old datanode D comes back to life. Now we have a valid corrupted block B on datanode D. > This case is possibly detected by the Client (using CRC). But does HDFS need to handle this scenario better? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.