hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fengdong Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1870) FileInputStream is not closed in ProcfsBasedProcessTree#constructProcessSMAPInfo()
Date Wed, 26 Mar 2014 03:37:15 GMT

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

Fengdong Yu commented on YARN-1870:
-----------------------------------

[~vinodkv], can you add me as YARN contributor?  I am HDFS contributor now, so I don't think
we also need send mail to the secretary.

> 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
>            Reporter: Ted Yu
>            Priority: Minor
>         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