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

Hadoop pipes Combiner is closed before all of its reduce calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.23.0
    • None
    • pipes
    • 0.23.0 on 64 bit linux

    Description

      When a Combiner is specified to runTask() its reduce() method may be called after its close() method has been called due to how the Combiner's containing object, CombineRunner, is closed after the TaskContextImpl's reducer member is closed (see TaskContextImpl::closeAll()).

      I believe the fix is to delegate the Combiner's ownership to CombineRunner, making it responsible for calling the Combiner's close() method and deleting the Combiner instance.

      Attachments

        1. MAPREDUCE-5860.patch
          2 kB
          Joe Mudd

        Activity

          People

            Unassigned Unassigned
            JoeM Joe Mudd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: