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

Hudson commented on HADOOP-8573:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1133 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1133/])
    HADOOP-8573. Configuration tries to read from an inputstream resource 
multiple times (Robert Evans via tgraves) (Revision 1359891)

     Result = SUCCESS
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1359891
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfiguration.java

                
> Configuration tries to read from an inputstream resource multiple times. 
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-8573
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8573
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 1.0.2, 0.23.3, 2.0.1-alpha, 3.0.0
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 0.23.3, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8573.txt, HADOOP-8573.txt, HADOOP-8573.txt
>
>
> If someone calls Configuration.addResource(InputStream) and then 
> reloadConfiguration is called for any reason, Configruation will try to 
> reread the contents of the InputStream, after it has already closed it.
> This never showed up in 1.0 because the framework itself does not call 
> addResource with an InputStream, and typically by the time user code starts 
> running that might call this, all of the default and site resources have 
> already been loaded.
> In 0.23 mapreduce is now a client library, and mapred-site.xml and 
> mapred-default.xml are loaded much later in the process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to