You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/03/15 22:56:16 UTC

[jira] [Created] (MAPREDUCE-5075) DistCp leaks input file handles

Chris Nauroth created MAPREDUCE-5075:
----------------------------------------

             Summary: 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


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