[
https://issues.apache.org/jira/browse/HADOOP-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enis Soztutar updated HADOOP-4760:
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.20.0)
0.19.1
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I committed this to 0.19.1 and on. The fix for 0.18.4 is not straightforward,
so I left that out, we can fix it in a new issue if need be.
> HDFS streams should not throw exceptions when closed twice
> ----------------------------------------------------------
>
> Key: HADOOP-4760
> URL: https://issues.apache.org/jira/browse/HADOOP-4760
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs/s3
> Affects Versions: 0.18.4, 0.19.1, 0.20.0, 0.21.0
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Fix For: 0.19.1
>
> Attachments: closehdfsstream_v1.patch, closehdfsstream_v2.patch,
> closehdfsstream_v3.patch
>
>
> When adding an {{InputStream}} via {{addResource(InputStream)}} to a
> {{Configuration}} instance, if the stream is a HDFS stream the
> {{loadResource(..)}} method fails with {{IOException}} indicating that the
> stream has already been closed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.