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 A083B100F4 for ; Thu, 11 Apr 2013 22:53:18 +0000 (UTC) Received: (qmail 10168 invoked by uid 500); 11 Apr 2013 22:53:17 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 10089 invoked by uid 500); 11 Apr 2013 22:53:17 -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 10079 invoked by uid 99); 11 Apr 2013 22:53:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 22:53:17 +0000 Date: Thu, 11 Apr 2013 22:53:17 +0000 (UTC) From: "Konstantin Shvachko (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-4588) DFSTestUtil.appendFile() should close the output stream on completion. 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-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko resolved HDFS-4588. --------------------------------------- Resolution: Duplicate Closing as duplicate then. Thanks Plamen for looking it up. > DFSTestUtil.appendFile() should close the output stream on completion. > ---------------------------------------------------------------------- > > Key: HDFS-4588 > URL: https://issues.apache.org/jira/browse/HDFS-4588 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 2.0.3-alpha > Reporter: Konstantin Shvachko > Assignee: Plamen Jeliazkov > Labels: newbie > > {{DFSTestUtil.appendFile()}} opens an output stream to write to a file but never closes it. > This was fixed for {{DFSTestUtil.createFile()}} on trunk by HDFS-3995. The same should be done for {{appendFile()}}. > On branch 2 both {{createFile()}} and {{appendFile()}} should be changed to close the respective output streams. -- 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