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

Lars Francke updated YARN-3594:
-------------------------------
    Attachment: YARN-3594.1.patch

Changes the try statement to an extended try-with-resources.

I can't assign JIRAs to myself yet.

> WintuilsProcessStubExecutor.startStreamReader leaks streams
> -----------------------------------------------------------
>
>                 Key: YARN-3594
>                 URL: https://issues.apache.org/jira/browse/YARN-3594
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0
>            Reporter: Steve Loughran
>            Priority: Trivial
>              Labels: newbie
>         Attachments: YARN-3594.1.patch
>
>
> while looking at the file, my IDE highlights that the thread runnables 
> started by 
> {{WintuilsProcessStubExecutor.startStreamReader()}} don't close their streams 
> as they exit.
> a java7 try-with-resources would trivially fix this



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to