Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 84352 invoked from network); 28 Oct 2009 05:23:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 05:23:22 -0000 Received: (qmail 31833 invoked by uid 500); 28 Oct 2009 05:23:22 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 31765 invoked by uid 500); 28 Oct 2009 05:23:21 -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 31755 invoked by uid 99); 28 Oct 2009 05:23:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 05:23:21 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 28 Oct 2009 05:23:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94282234C1E9 for ; Tue, 27 Oct 2009 22:22:59 -0700 (PDT) Message-ID: <175040300.1256707379605.JavaMail.jira@brutus> Date: Wed, 28 Oct 2009 05:22:59 +0000 (UTC) From: "dhruba borthakur (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-732) HDFS files are ending up truncated In-Reply-To: <330655374.1256432099391.JavaMail.jira@brutus> 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-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770794#action_12770794 ] dhruba borthakur commented on HDFS-732: --------------------------------------- hi christian, the 0.20 code looks correct. DFSOutputStream.closed is initialized to false and is set to true if and only if a call to DFSOutputStream.close() successfully completed. In this case, if the app invoked DFSOutputStream.close() again, this method will return success. > HDFS files are ending up truncated > ---------------------------------- > > Key: HDFS-732 > URL: https://issues.apache.org/jira/browse/HDFS-732 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.20.1 > Reporter: Christian Kunz > > We recently started to use hadoop-0.20.1 in our production environment (less than 2 weeks ago) and already had 3 instances of truncated files, more than we had for months using hadoop-0.18.3. > Writing is done using libhdfs, although it rather seems to be a problem on the server side. > I will post some relevant logs (they are too large to be put into the description) > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.