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

Hudson commented on YARN-3594:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #204 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/204/])
YARN-3594. WintuilsProcessStubExecutor.startStreamReader leaks streams. 
Contributed by Lars Francke. (junping_du: rev 
132d909d4a6509af9e63e24cbb719be10006b6cd)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/WindowsSecureContainerExecutor.java
* hadoop-yarn-project/CHANGES.txt


> 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
>            Assignee: Lars Francke
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.8.0
>
>         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