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 "Fengdong Yu (JIRA)" <ji...@apache.org> on 2014/04/14 04:46:17 UTC
[jira] [Commented] (YARN-1870) FileInputStream is not closed in
ProcfsBasedProcessTree#constructProcessSMAPInfo()
[ https://issues.apache.org/jira/browse/YARN-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968030#comment-13968030 ]
Fengdong Yu commented on YARN-1870:
-----------------------------------
who can commit this? Thanks.
> 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
> Assignee: Fengdong 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)