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] [Updated] (YARN-1870) FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()
Date Thu, 17 Apr 2014 18:01:24 GMT

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

Junping Du updated YARN-1870:
-----------------------------

    Issue Type: Improvement  (was: Bug)

> FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-1870
>                 URL: https://issues.apache.org/jira/browse/YARN-1870
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          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