[
https://issues.apache.org/jira/browse/AVRO-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787427#comment-16787427
]
Ivan Greene commented on AVRO-2136:
-----------------------------------
I agree this issue can be closed. It is not obvious but in DataFileWriter#init,
'underlyingStream' is assigned to the OutputStream and 'out' is assigned to a
BufferedFileOutputStream wrapping the OutputStream; when 'out' is closed, the
original outputstream will also be closed.
> All Outstreams are not getting closed in DataFileWriter
> -------------------------------------------------------
>
> Key: AVRO-2136
> URL: https://issues.apache.org/jira/browse/AVRO-2136
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Reporter: Balu
> Priority: Critical
>
> underlyingStream is getting initialized with output stream provided while
> writing the data, butis never getting closed. This is causing issue when a
> file system accepts only one active connection to write the data.
>
> When close method is called it is also close underlyingStream
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)