[
https://issues.apache.org/jira/browse/TEZ-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647232#comment-14647232
]
Jeff Zhang commented on TEZ-2311:
---------------------------------
Upload a new patch.
Actually it is not necessary to call shutdown explicitly.
* for non-session mode, it would shutdown itself after the dag is
recovered(finished)
* for session mode, just set sessionStopped as true will cause AM shutdown
after dag is recovered(finished)
bq. Also, I don't see "sessionStopped" set to false anywhere.
Not sure what you mean, it should be not necessary to set it to false.
> AM can hang if kill received while recovering from previous attempt
> -------------------------------------------------------------------
>
> Key: TEZ-2311
> URL: https://issues.apache.org/jira/browse/TEZ-2311
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.6.0
> Reporter: Jason Lowe
> Assignee: Jeff Zhang
> Labels: Recovery
> Attachments: TEZ-2311-1.patch, TEZ-2311-2.patch, TEZ-2311-3.patch,
> TEZ-2311-4.patch, TEZ-2311-5.patch, TEZ-2311-6.patch, TEZ-2311-7.patch
>
>
> We saw an instance of a Tez job hanging despite receiving multiple kill
> requests from clients. The AM was recovering from a prior attempt when the
> first kill request arrived.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)