Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 70871 invoked from network); 9 Jul 2008 21:25:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 21:25:53 -0000 Received: (qmail 84466 invoked by uid 500); 9 Jul 2008 21:25:52 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 84436 invoked by uid 500); 9 Jul 2008 21:25:52 -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 84425 invoked by uid 99); 9 Jul 2008 21:25:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 14:25:52 -0700 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; Wed, 09 Jul 2008 21:25:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AED05234C163 for ; Wed, 9 Jul 2008 14:25:31 -0700 (PDT) Message-ID: <449015284.1215638731715.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 14:25:31 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2067) multiple close() failing in Hadoop 0.14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612287#action_12612287 ] Tsz Wo (Nicholas), SZE commented on HADOOP-2067: ------------------------------------------------ > closing this as wont fix. +1 > multiple close() failing in Hadoop 0.14 > --------------------------------------- > > Key: HADOOP-2067 > URL: https://issues.apache.org/jira/browse/HADOOP-2067 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.14.3 > Reporter: Lohit Vijayarenu > Attachments: stack_trace_13_and_14.txt > > > It looks like multiple close() calls, while reading files from DFS is failing in hadoop 0.14. This was somehow not caught in hadoop 0.13. > The use case was to open a file on DFS like shown below > > FSDataInputStream > fSDataInputStream = > fileSystem.open(new Path(propertyFileName)); > Properties subProperties = > new Properties(); > subProperties. > loadFromXML(fSDataInputStream); > fSDataInputStream. > close(); > > This failed with an IOException > > EXCEPTIN RAISED, which is java.io.IOException: Stream closed > java.io.IOException: Stream closed > > The stack trace shows its being closed twice. While this used to work in hadoop 0.13 which used to hide this. > Attached with this JIRA is a text file which has stack trace for both hadoop 0.13 and hadoop 0.14. > How should this be handled from a users point of view? > Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.