Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2483

Tez should close task if processor fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.2, 0.7.1
    • None
    • None

    Description

      The symptom is if PigProcessor fail, MRInput is not closed. On Windows, this creates a problem since Pig client cannot remove the input file.

      In general, if a task fail, Tez shall close all input/output handles in cleanup. MROutput is closed in MROutput.abort() which Pig invokes explicitly right now. Attach a demo patch.

      Attachments

        1. TEZ-2483-3.patch
          7 kB
          Jeff Zhang
        2. TEZ-2483-2.patch
          0.7 kB
          Jeff Zhang
        3. TEZ-2483-1.patch
          0.6 kB
          Daniel Dai

        Activity

          People

            zjffdu Jeff Zhang
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: