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

Hudson commented on MAPREDUCE-5075:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1378 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1378/])
    Move MAPREDUCE-5075 to 2.0.5-beta in CHANGES.txt. (Revision 1458749)
MAPREDUCE-5075. DistCp leaks input file handles since ThrottledInputStream does 
not close the wrapped InputStream.  Contributed by Chris Nauroth (Revision 
1458741)

     Result = SUCCESS
szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1458749
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1458741
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/RetriableFileCopyCommand.java
* 
/hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/util/ThrottledInputStream.java
* 
/hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestIntegration.java

                
> DistCp leaks input file handles
> -------------------------------
>
>                 Key: MAPREDUCE-5075
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5075
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distcp
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 2.0.5-beta
>
>         Attachments: MAPREDUCE-5075.1.patch
>
>
> DistCp wraps the {{InputStream}} for each input file it reads in an instance 
> of {{ThrottledInputStream}}.  This class does not close the wrapped 
> {{InputStream}}.  {{RetriableFileCopyCommand}} guarantees that the 
> {{ThrottledInputStream}} gets closed, but without closing the underlying 
> wrapped stream, it still leaks a file handle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to