[ https://issues.apache.org/jira/browse/TEZ-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14535192#comment-14535192 ]
Bikas Saha commented on TEZ-2421: --------------------------------- This is happening because recovery code path is directly manipulating the state changes of vertex/task/attempt instead of following the normal state transitions. TEZ-1019 is tracking this but has not yet been committed. I will try to fix this. > Deadlock in AM because attempt and vertex locking each other out > ---------------------------------------------------------------- > > Key: TEZ-2421 > URL: https://issues.apache.org/jira/browse/TEZ-2421 > Project: Apache Tez > Issue Type: Bug > Reporter: Bikas Saha > Assignee: Bikas Saha > Priority: Blocker > Attachments: TEZ-2421.1.patch, TEZ-2421.2.patch, TEZ-2421.3.patch > > > Ideally locks should be taken one way - either going down or up. Preferably > not going up because most such data can be passed in during object > construction. -- This message was sent by Atlassian JIRA (v6.3.4#6332)