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

Ted Yu commented on YARN-1870:
------------------------------

lgtm

> 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)

Reply via email to