Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 78448 invoked from network); 24 Mar 2009 00:12:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 00:12:13 -0000 Received: (qmail 28508 invoked by uid 500); 24 Mar 2009 00:12:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 28447 invoked by uid 500); 24 Mar 2009 00:12:12 -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 28339 invoked by uid 99); 24 Mar 2009 00:12:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 00:12:11 +0000 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; Tue, 24 Mar 2009 00:12:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A631F234C04B for ; Mon, 23 Mar 2009 17:11:50 -0700 (PDT) Message-ID: <564032342.1237853510679.JavaMail.jira@brutus> Date: Mon, 23 Mar 2009 17:11:50 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5554) DataNodeCluster should create blocks with the same generation stamp as the blocks created in CreateEditsLog In-Reply-To: <1961270825.1237830711480.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-5554: ---------------------------------- Attachment: blockGS-0.19.patch This is a patch for 0.19. > DataNodeCluster should create blocks with the same generation stamp as the blocks created in CreateEditsLog > ----------------------------------------------------------------------------------------------------------- > > Key: HADOOP-5554 > URL: https://issues.apache.org/jira/browse/HADOOP-5554 > Project: Hadoop Core > Issue Type: Bug > Components: test > Affects Versions: 0.19.2 > Reporter: Hairong Kuang > Assignee: Hairong Kuang > Fix For: 0.19.2, 0.20.0, 0.21.0 > > Attachments: blockGS-0.19.patch, blockGS.patch > > > HADOOP-5384 makes DataNodeCluster to create blocks with generation stamp Block#GRANDFATHER_GENERATION_STAMP(0) so simuated datanodes do not crash NameNode any more. But there is still a problem. CreateEditLogs creates blocks with generation stamp GenerationStamp#FIRST_VALID_STAMP (1000). Because of the generation stamp mismatch, all injected blocks are marked as invalid when NameNode processes block reports. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.