You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2016/01/19 17:57:39 UTC

[jira] [Created] (TEZ-3052) Task internal error due to Invalid event: T_ATTEMPT_FAILED at FAILED

Jason Lowe created TEZ-3052:
-------------------------------

             Summary: Task internal error due to Invalid event: T_ATTEMPT_FAILED at FAILED
                 Key: TEZ-3052
                 URL: https://issues.apache.org/jira/browse/TEZ-3052
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Jason Lowe


A task encountered an internal error due to "Invalid event: T_ATTEMPT_FAILED at FAILED".  The task had two outstanding attempts, as one was speculative.  The main attempt failed causing the task to fail, and when the speculative attempt subsequently failed the T_ATTEMPT_FAILED triggered the invalid state transition.

It appears there needs to be some hardening of the TaskImpl state machine in light of speculative attempt events arriving late.  Besides this scenario I think there may be others, e.g.: speculative attempt succeeding just as overall task fails  appears to be unhandled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)