Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2931

exception in DFSClient.create: Stream closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.1
    • None
    • None

    Description

      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.");

      Attachments

        1. hadoop-2931.patch
          0.8 kB
          Michael Bieniosek

        Activity

          People

            bien Michael Bieniosek
            bien Michael Bieniosek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: