[
https://issues.apache.org/jira/browse/TEZ-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581220#comment-14581220
]
Bikas Saha commented on TEZ-2548:
---------------------------------
Not sure if this will fix it because serviceStop might be holding a lock but
submitDAG() may check sessionStopped before serviceStop updates sessionStopped.
Then submitDAG may proceed to synchronize again and hang.
Eventually, after the AM has shutdown and serviceStop() completes, should
submitDAG fail and the client get an error?
> TezClient submitDAG can hang if the AM is in the process of shutting down
> -------------------------------------------------------------------------
>
> Key: TEZ-2548
> URL: https://issues.apache.org/jira/browse/TEZ-2548
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Hitesh Shah
> Assignee: Hitesh Shah
> Attachments: TEZ-2548.1.patch
>
>
> submitDAG and serviceStop are both synchronized causing submitDAG to be
> locked out during the shutdown process.
> Seen by [~gopalv]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)