hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4760) Configuration addResource(InputStream) fails with HDFS streams
Date Thu, 04 Dec 2008 01:17:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653105#action_12653105

Alejandro Abdelnur commented on HADOOP-4760:

Doug, you are correct, according to the {{Closeable}} API: Closes this stream and releases
any system resources associated with it. If the stream is already closed then invoking this
method has no effect. 

> 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
>             Fix For: 0.20.0
> 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.

View raw message