java.io.IOException: DFSOutputStream is closed*

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Kiru Pakkirisamy, 2 years ago
DFSOutputStream is closed
via Google Groups by Cheng Su, 2 years ago
via Google Groups by Vimal Jain, 2 years ago
java.io.IOException: DFSOutputStream is closed*
at org.apache.hadoop.fs.FSDataOutputStream.sync(FSDataOutputStream.java:97)
at org.apache.flume.sink.hdfs.HDFSCompressedDataStream.sync(HDFSCompressedDataStream.java:96)
at org.apache.flume.sink.hdfs.BucketWriter.doFlush(BucketWriter.java:345)
at org.apache.flume.sink.hdfs.BucketWriter.access$500(BucketWriter.java:53)
at org.apache.flume.sink.hdfs.BucketWriter$4.run(BucketWriter.java:310)
at org.apache.flume.sink.hdfs.BucketWriter$4.run(BucketWriter.java:308)
at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:143)
at org.apache.flume.sink.hdfs.BucketWriter.flush(BucketWriter.java:308)
at org.apache.flume.sink.hdfs.BucketWriter.close(BucketWriter.java:257)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:382)
at org.apache.flume.sink.hdfs.HDFSEventSink$2.call(HDFSEventSink.java:729)
at org.apache.flume.sink.hdfs.HDFSEventSink$2.call(HDFSEventSink.java:727)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.