hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5075) DistCp leaks input file handles
Date Tue, 26 Mar 2013 20:51:18 GMT

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

Thomas Graves updated MAPREDUCE-5075:
-------------------------------------

    Fix Version/s: 0.23.7

I merged this into branch-0.23.
                
> 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: 0.23.7, 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

Mime
View raw message