[ 
https://issues.apache.org/jira/browse/AVRO-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-775:
------------------------------

    Fix Version/s:     (was: 1.5.1)
                   1.5.0

I prefer using Closeable, as otherwise non-InputStream implementations of 
SeekableInput would not be closed.  This is a slightly incompatible API change, 
so it would be good to get into 1.5.0.  Unless there are objections, I'll 
commit this and roll another release candidate.

> File handle leak in DataFileReader
> ----------------------------------
>
>                 Key: AVRO-775
>                 URL: https://issues.apache.org/jira/browse/AVRO-775
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.0
>         Environment: all
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.5.0
>
>         Attachments: AVRO-775.patch, AVRO-775.patch
>
>
> When a DataFileReader is constructed by passing it a java.io.File and the is 
> subsequently closed, the underlying FileInputStream is not getting closed. It 
> manifests as an error in mapreduce tests in Windows machines. The files 
> produced by mappers/reducers are opened as DataFiles for checking and, due to 
> this bug, the handles are not closed. So subsequent delete operation on the 
> file fails. And future mapper/reducer complains that the output already 
> exists.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to