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

Tsuyoshi Ozawa commented on TEZ-3311:
-------------------------------------

[~rajesh.balamohan] thank you for the review. You're right, I checked 
ZipFile.getInputStream just only call ensureOpen function internally, and it 
doesn't touch any file descriptor. Closing this as Not a problem.

> ATSFileParser resource leak: InputStream should be closed 
> ----------------------------------------------------------
>
>                 Key: TEZ-3311
>                 URL: https://issues.apache.org/jira/browse/TEZ-3311
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Tsuyoshi Ozawa
>            Priority: Minor
>              Labels: newbie
>         Attachments: TEZ-3311.001.patch
>
>
> Discovered in a coverity scan that inputstream is never closed: 
> 189        InputStream inputStream = atsZipFile.getInputStream(zipEntry);



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

Reply via email to