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

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

Good catch [~yuzhih...@gmail.com], I've upload a simple patch to cover it.

> 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
>
> {code}
>       List<String> lines = IOUtils.readLines(new FileInputStream(file));
> {code}
> FileInputStream is not closed.



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

Reply via email to