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

Kezhu Wang commented on FLINK-20649:
------------------------------------

I think {{StreamTask.cancelOrFailAndCancelInvokable}} was written this way 
because of it has a guarantee to its caller that "This method never blocks".

> StreamTask closeAllOperators stuck
> ----------------------------------
>
>                 Key: FLINK-20649
>                 URL: https://issues.apache.org/jira/browse/FLINK-20649
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>    Affects Versions: 1.12.0
>            Reporter: weiyunqing
>            Priority: Major
>         Attachments: 924f9c5510dd45408f41280c3f3ea48bcc284573.png, 
> image-2020-12-17-17-57-41-680.png
>
>
> When a StreamTask exits due to an internal exception, the StreamTask does not 
> use an asynchronous thread to closeAllOperators or set a timeout. The 
> StreamTask will be stuck here (no upstream and downstream scenarios)
>  !image-2020-12-17-17-57-41-680.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to