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 5372A87EE for ; Fri, 9 Sep 2011 19:23:31 +0000 (UTC) Received: (qmail 26282 invoked by uid 500); 9 Sep 2011 19:23:31 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26255 invoked by uid 500); 9 Sep 2011 19:23:30 -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 26247 invoked by uid 99); 9 Sep 2011 19:23:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 19:23:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 19:23:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C7D208BF03 for ; Fri, 9 Sep 2011 19:23:08 +0000 (UTC) Date: Fri, 9 Sep 2011 19:23:08 +0000 (UTC) From: "Jitendra Nath Pandey (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <63277353.9634.1315596188815.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1197) Blocks are considered "complete" prematurely after commitBlockSynchronization or DN restart 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-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HDFS-1197: --------------------------------------- Attachment: HDFS-1197-20s.2.patch Todd's original patch rebased against 20-security. > Blocks are considered "complete" prematurely after commitBlockSynchronization or DN restart > ------------------------------------------------------------------------------------------- > > Key: HDFS-1197 > URL: https://issues.apache.org/jira/browse/HDFS-1197 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node, hdfs client, name-node > Affects Versions: 0.20-append > Reporter: Todd Lipcon > Fix For: 0.20-append > > Attachments: HDFS-1197-20s.2.patch, HDFS-1197-without-addStoredBlock-change.1.patch, hdfs-1197-test-changes.txt, hdfs-1197.txt, testTC2-failure.txt > > > I saw this failure once on my internal Hudson job that runs the append tests 48 times a day: > junit.framework.AssertionFailedError: expected:<114688> but was:<98304> > at org.apache.hadoop.hdfs.AppendTestUtil.check(AppendTestUtil.java:112) > at org.apache.hadoop.hdfs.TestFileAppend3.testTC2(TestFileAppend3.java:116) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira