[
https://issues.apache.org/jira/browse/HBASE-11012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973699#comment-13973699
]
Hudson commented on HBASE-11012:
--------------------------------
FAILURE: Integrated in HBase-TRUNK #5095 (See
[https://builds.apache.org/job/HBase-TRUNK/5095/])
HBASE-11012 InputStream is not properly closed in two methods of JarFinder
(tedyu: rev 1588375)
*
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/hadoopbackport/JarFinder.java
> InputStream is not properly closed in two methods of JarFinder
> --------------------------------------------------------------
>
> Key: HBASE-11012
> URL: https://issues.apache.org/jira/browse/HBASE-11012
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
> Fix For: 0.99.0
>
> Attachments: 11012-v2.txt, 11012-v3.txt
>
>
> JarFinder#jarDir() and JarFinder#zipDir() have such code:
> {code}
> 99 InputStream is = new FileInputStream(f);
> 100 copyToZipStream(is, anEntry, zos);
> {code}
> The InputStream is not closed after copy operation.
--
This message was sent by Atlassian JIRA
(v6.2#6252)