[
https://issues.apache.org/jira/browse/FLINK-20649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17253573#comment-17253573
]
weiyunqing commented on FLINK-20649:
------------------------------------
[~kezhuw] I think that the `disposeAllOperators` should use asynchronous calls
and set timeouts just like the cancel task, just as the line 'Task
cancelOrFailAndCancelInvokable' 1065
!924f9c5510dd45408f41280c3f3ea48bcc284573.png!
> 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)