Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5075

DistCp leaks input file handles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 0.23.7, 2.1.0-beta
    • distcp
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. MAPREDUCE-5075.1.patch
          3 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: