[jira] [Created] (FLINK-13588) StreamTask.handleAsyncException throws away the exception cause

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13588) StreamTask.handleAsyncException throws away the exception cause

Shang Yuanchun (Jira)
John Lonergan created FLINK-13588:
-------------------------------------

             Summary: StreamTask.handleAsyncException throws away the exception cause
                 Key: FLINK-13588
                 URL: https://issues.apache.org/jira/browse/FLINK-13588
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.8.1
            Reporter: John Lonergan


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
(v7.6.14#76016)