[ 
https://issues.apache.org/jira/browse/FLINK-16637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063164#comment-17063164
 ] 

Gary Yao commented on FLINK-16637:
----------------------------------

{quote}Possibly we flush outstanding response in rest server before it gets 
closed.{quote}

I thought we were doing this already: 
https://github.com/apache/flink/blob/0619a5b3e000855f00d11e71ae2f1b9deef05c98/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java#L223-L225

> 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)

Reply via email to