Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 218 invoked from network); 3 Mar 2008 21:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2008 21:18:01 -0000 Received: (qmail 28541 invoked by uid 500); 3 Mar 2008 21:17:56 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 28515 invoked by uid 500); 3 Mar 2008 21:17:56 -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 28504 invoked by uid 99); 3 Mar 2008 21:17:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 13:17:56 -0800 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; Mon, 03 Mar 2008 21:17:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 26C09234C087 for ; Mon, 3 Mar 2008 13:16:51 -0800 (PST) Message-ID: <567648312.1204579011157.JavaMail.jira@brutus> Date: Mon, 3 Mar 2008 13:16:51 -0800 (PST) From: "Michael Bieniosek (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2931) exception in DFSClient.create: Stream closed In-Reply-To: <1700848526.1204576850516.JavaMail.jira@brutus> 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-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574738#action_12574738 ] Michael Bieniosek commented on HADOOP-2931: ------------------------------------------- Okay, it seems that java sets the stacktrace when the exception is created, and not when the exception is thrown. So this is really just a bad error message masking the true error. > exception in DFSClient.create: Stream closed > -------------------------------------------- > > Key: HADOOP-2931 > URL: https://issues.apache.org/jira/browse/HADOOP-2931 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.0 > Reporter: Michael Bieniosek > > When writing to the dfs from hbase, I get this exception: > java.io.IOException: Stream closed. > at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.(DFSClient.java:1506) > at org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:382) > at org.apache.hadoop.dfs.DistributedFileSystem.create(DistributedFileSystem.java:123) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:436) > at org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:827) > at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:379) > at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:270) > at org.apache.hadoop.hbase.HLog.rollWriter(HLog.java:230) > at org.apache.hadoop.hbase.HRegionServer$LogRoller.run(HRegionServer.java:539) > I'm not totally sure what this means, though, because DFSClient.java:1506 is an instance variable initialization: > private IOException lastException = new IOException("Stream closed."); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.