hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11500) InputStream is left unclosed in ApplicationClassLoader
Date Fri, 23 Jan 2015 12:35:38 GMT

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

Hudson commented on HADOOP-11500:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2014 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2014/])
HADOOP-11500. InputStream is left unclosed in ApplicationClassLoader. Contributed by Ted Yu.
(ozawa: rev 825923f7b9a8771ff5b3f08646e96304d1acc367)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java


> InputStream is left unclosed in ApplicationClassLoader
> ------------------------------------------------------
>
>                 Key: HADOOP-11500
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11500
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: hadoop-11500-001.patch, hadoop-11500-002.patch
>
>
> {code}
>     InputStream is = null;
>     try {
>       is = ApplicationClassLoader.class.getClassLoader().
>           getResourceAsStream(PROPERTIES_FILE);
> {code}
> The InputStream is not closed in the static block.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message