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

Piotr Nowojski commented on FLINK-21186:
----------------------------------------

How does it swallow it? Do you mean it's wrapping it in a `RuntimeException`? 

If so, I'm not sure if we can do anything, as `InterruptedException` can happen 
on a backpressure deep in the network stack when collecting a records in the 
operator chain. Maybe it's better to wrap that kind of exceptions as 
`RuntimeException` so that the user code is not polluted with them? Also all in 
all, such exception should bubble up and interrupt/stop the task.

> RecordWriterOutput swallows interrupt state when interrupted.
> -------------------------------------------------------------
>
>                 Key: FLINK-21186
>                 URL: https://issues.apache.org/jira/browse/FLINK-21186
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>    Affects Versions: 1.13.0
>            Reporter: Arvid Heise
>            Priority: Major
>




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

Reply via email to