Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3354CE9BE for ; Thu, 31 Jan 2013 00:09:14 +0000 (UTC) Received: (qmail 86199 invoked by uid 500); 31 Jan 2013 00:09:13 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 86106 invoked by uid 500); 31 Jan 2013 00:09:13 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 85872 invoked by uid 99); 31 Jan 2013 00:09:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 00:09:13 +0000 Date: Thu, 31 Jan 2013 00:09:13 +0000 (UTC) From: "Brandon Li (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-4212) NameNode can't differentiate between a never-created block and a block which is really missing 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-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Li resolved HDFS-4212. ------------------------------ Resolution: Duplicate > NameNode can't differentiate between a never-created block and a block which is really missing > ---------------------------------------------------------------------------------------------- > > Key: HDFS-4212 > URL: https://issues.apache.org/jira/browse/HDFS-4212 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 1.2.0, 3.0.0 > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: hdfs-4212-junit-test.patch > > > In one test case, NameNode allocated a block and then was killed before the client got the addBlock response. > After NameNode restarted, the block which was never created was considered as a missing block and FSCK would report the file is corrupted. > The problem seems to be that, NameNode can't differentiate between a never-created block and a block which is really missing. -- 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