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

Support for Hadoop Speculative Execution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0
    • None
    • None
    • Hadoop

    Description

      If Speculative Execution is used in Hadoop while creating a data-set then Pig scripts loading this data-set may fail. Reason is temp directories generated in the process.

      Pig can filter out these temp directories and problem gets solved. Here is sample error:

      [main] ERROR org.apache.pig - Error message from task (map) tip_..._0001_m_002735 java.io.EOFException
      at java.io.DataInputStream.readFully(DataInputStream.java:180)
      at org.apache.hadoop.io.DataOutputBuffer$Buffer.write(DataOutputBuffer.java:56)
      at org.apache.hadoop.io.DataOutputBuffer.write(DataOutputBuffer.java:90)
      at org.apache.hadoop.io.SequenceFile$Reader.readBuffer(SequenceFile.java:1524)
      at org.apache.hadoop.io.SequenceFile$Reader.seekToCurrentValue(SequenceFile.java:1590)
      at org.apache.hadoop.io.SequenceFile$Reader.getCurrentValue(SequenceFile.java:1626)
      at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1712)
      at org.apache.hadoop.mapred.SequenceFileRecordReader.next(SequenceFileRecordReader.java:79)
      ...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amirhyoussefi Amir Youssefi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: