You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "sandflee (JIRA)" <ji...@apache.org> on 2016/04/09 00:49:25 UTC

[jira] [Updated] (YARN-4936) FileInputStream should be closed explicitly in NMWebService#getLogs

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

sandflee updated YARN-4936:
---------------------------
    Attachment: YARN-4936.01.patch

> FileInputStream should be closed explicitly in NMWebService#getLogs
> -------------------------------------------------------------------
>
>                 Key: YARN-4936
>                 URL: https://issues.apache.org/jira/browse/YARN-4936
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: sandflee
>            Assignee: sandflee
>         Attachments: YARN-4936.01.patch
>
>
> Now, the close of FileInputStream is relying on FileInputStream#finalize, but it's not reliable, we should close it explicitly.



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