[
https://issues.apache.org/jira/browse/FLINK-6958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061517#comment-16061517
]
Till Rohrmann commented on FLINK-6958:
--------------------------------------
{{timerService.setExecuteExistingDelayedTasksAfterShutdownPolicy(false)}} has
been intentionally set to {{false}}, because we don't want to execute any timer
tasks after the shutdown of the {{StreamTask}}. The reason is the lifecycle
management of the {{StreamTask}}. Once the {{StreamTask}} has terminated, all
of its components should be closed as well and there shouldn't be any async
operations which might try to output elements into an {{OutputEmitter}}.
The solution might be as simple as moving the {{stopResources}} call before the
{{super.close}} call in {{AsyncWaitOperator.close}}.
> Async I/O timeout not work
> --------------------------
>
> Key: FLINK-6958
> URL: https://issues.apache.org/jira/browse/FLINK-6958
> Project: Flink
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 1.2.1
> Reporter: feng xiaojie
> Assignee: Jark Wu
>
> when use Async I/O with UnorderedStreamElementQueue, the queue will always
> full if you don't call the AsyncCollector.collect to ack them.
> Timeout shall collect these entries when the timeout trigger,but it isn't work
> I debug find,
> when time out, it will call resultFuture.completeExceptionally(error);
> but not call UnorderedStreamElementQueue.onCompleteHandler
> it will cause that async i/o hang always
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)