[
https://issues.apache.org/jira/browse/FLINK-16637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063025#comment-17063025
]
Zili Chen commented on FLINK-16637:
-----------------------------------
[~gjy] after "cancel" command received by the {{JobMaster}}, it causes
1. The job asynchronously cancelled
2. The response asynchronously sent
I don't find an explicit synchronization between 1 and 2, so is the statement.
But generally 1 takes some time before later it causes the cluster shutdown,
and thus 2 can nearly always happens before the cluster shutdown.
> Flink per job mode terminates before serving job cancellation result
> --------------------------------------------------------------------
>
> Key: FLINK-16637
> URL: https://issues.apache.org/jira/browse/FLINK-16637
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Affects Versions: 1.10.0
> Reporter: Zili Chen
> Priority: Major
> Fix For: 1.10.1, 1.11.0
>
> Attachments: yarn.log
>
>
> The {{MiniDispatcher}} no longer waits until the REST handler has served the
> cancellation result before shutting down. This behaviour seems to be
> introduced with FLINK-15116.
> See also
> [https://lists.apache.org/x/thread.html/rcadbd6ceede422bac8d4483fd0cdae58659fbff78533a399eb136743@%3Cdev.flink.apache.org%3E]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)