hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1870) FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()
Date Thu, 17 Apr 2014 17:28:16 GMT

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

Junping Du commented on YARN-1870:
----------------------------------

+1. Thanks Fengdong for the patch!  Will commit it shortly.

> FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-1870
>                 URL: https://issues.apache.org/jira/browse/YARN-1870
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Ted Yu
>            Assignee: Fengdong Yu
>            Priority: Minor
>             Fix For: 2.4.1
>
>         Attachments: YARN-1870.patch
>
>
> {code}
>       List<String> lines = IOUtils.readLines(new FileInputStream(file));
> {code}
> FileInputStream is not closed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message