You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2016/04/25 18:16:13 UTC

[jira] [Updated] (TEZ-3213) Uncaught exception during vertex recovery leads to invalid state transition loop

     [ https://issues.apache.org/jira/browse/TEZ-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Badger updated TEZ-3213:
-----------------------------
    Attachment: TEZ-3213-b0.7.001.patch

Attaching patch to handle transition from RECOVERING to ERROR in face of V_INTERNAL_ERROR. Also adding a test that tests this transition. 

I ran all tests locally and the test failed without the patch and passed with it.

[~zjffdu], does this bug apply to master with the revamp of recovery? The patch only applies to branch 0.7 in its current state, so I wasn't sure if the same bug would be a problem in master. 

> Uncaught exception during vertex recovery leads to invalid state transition loop
> --------------------------------------------------------------------------------
>
>                 Key: TEZ-3213
>                 URL: https://issues.apache.org/jira/browse/TEZ-3213
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Jason Lowe
>            Assignee: Eric Badger
>         Attachments: TEZ-3213-b0.7.001.patch
>
>
> If an uncaught exception occurs during a state transition from the RECOVERING vertex then V_INTERNAL_ERROR will be delivered to the state machine, but that event is not handled in the RECOVERING state.  That in turn causes a V_INTERNAL_ERROR event to be delivered to the state machine, and it loops logging the invalid transitions.



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