[
https://issues.apache.org/jira/browse/FLINK-13588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann resolved FLINK-13588.
-----------------------------------
Fix Version/s: 1.9.1
1.10.0
Resolution: Fixed
Fixed via
1.10.0: 8935ebf1b1f36109e3b1c48a5aba8e63f9df263a
1.9.1: 6f7d62528eba6387dae20f8e1678af2fd36a46c6
> StreamTask.handleAsyncException throws away the exception cause
> ---------------------------------------------------------------
>
> Key: FLINK-13588
> URL: https://issues.apache.org/jira/browse/FLINK-13588
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Affects Versions: 1.8.1
> Reporter: John Lonergan
> Assignee: John Lonergan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0, 1.9.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Code below throws the reason 'message' away making it hard to diagnose why a
> split has failed for instance.
>
> {code:java}
> https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L909
> @Override
> public void handleAsyncException(String message, Throwable exception) {
> if (isRunning) {
> // only fail if the task is still running
> getEnvironment().failExternally(exception);
> }
> }{code}
>
> Need to pass the message through so that we see it in logs please.
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)