You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Michael Bieniosek (JIRA)" <ji...@apache.org> on 2008/03/03 22:16:51 UTC

[jira] Commented: (HADOOP-2931) exception in DFSClient.create: Stream closed

    [ 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.<init>(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.<init>(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.