[
https://issues.apache.org/jira/browse/HADOOP-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672038#action_12672038
]
Raghu Angadi commented on HADOOP-4760:
--------------------------------------
+1. This should have been fixed a long time back.
regd the patch :
# If both the file and DFSclient are closed, it would still throw an exception,
checkopen() should probably called only if the stream is not closed.
# it has a lot of meta, formatting changes, are those intentional? I know
{...@override}} is useful, but these changes are spread all over.. one big
disadvantage is that it conflicts patches coming from other active branches.
> Configuration addResource(InputStream) fails with HDFS streams
> --------------------------------------------------------------
>
> Key: HADOOP-4760
> URL: https://issues.apache.org/jira/browse/HADOOP-4760
> Project: Hadoop Core
> Issue Type: Bug
> Components: conf
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Fix For: 0.20.0
>
> Attachments: closehdfsstream_v1.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.