You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2016/06/24 21:57:16 UTC

[jira] [Updated] (TEZ-3311) ATSFileParser resource leak: InputStream should be closed

     [ https://issues.apache.org/jira/browse/TEZ-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ozawa updated TEZ-3311:
--------------------------------
    Attachment: TEZ-3311.001.patch

Attaching a first patch to close the inputStream.

> 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
>            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)