Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-179

On hadoop 0.16, some jobs using combiner fail with an NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.0.0
    • 0.1.0
    • None
    • None
    • Hadoop 0.16

    Description

      Some jobs (it appears to only be larger jobs) now fail with an NPE in the combiner code on this line:

      PigSplit split = PigInputFormat.PigRecordReader.getPigRecordReader().getPigFileSplit();
      

      Looking into the PigRecordReader a comment in the class indicates that, as implemented, it depends on the mapper and splitter (and in this case the combiner as well) running in the same thread. It seems that in some cases in hadoop 0.16 this is no longer the case.

      Attachments

        1. PIG-179.patch
          1 kB
          Alan Gates

        Activity

          People

            gates Alan Gates
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: