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

Vertex can hang in RUNNING state when two task attempts finish very closely and have retroactive failures

    XMLWordPrintableJSON

Details

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

    Description

      A vertex's count of what tasks are done can go off in a case where two task attempts finish very closely, say within a millisecond of each other. We had a case where this task, which was marked successful, never scheduled another attempt upon getting a retroactive failure since it thought it had one uncompleted task attempt already. This is because the attempt that finished 1 ms later transitioned to SUCCEEDED but we don't take any action on the taskAttempStatus data structure and it stays false. This JIRA will attempt to solve that race.

      Attachments

        1. TEZ-3758.001.patch
          8 kB
          Kuhu Shukla
        2. TEZ-3758.002.patch
          9 kB
          Kuhu Shukla
        3. TEZ-3758.003.patch
          14 kB
          Kuhu Shukla
        4. TEZ-3758.004.patch
          15 kB
          Kuhu Shukla

        Activity

          People

            kshukla Kuhu Shukla
            kshukla Kuhu Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: