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

John Lonergan commented on FLINK-13588:
---------------------------------------

See [https://github.com/apache/flink/pull/9456]

Hi done the work including test - trivial change.

Unfortunately I cannot verify the test as I couldn't work out how to make the 
existing build including tests on master run to completion without tests 
hanging for ages, and loads of errors.

I am using Java 8 221

Tried maven 3.1.1 and 3.2.5

No idea how to fix.

The following works but doesn't run tests ....

{{mvn clean package -DskipTests # this will take up to 10 minutes}}

----

Also couldn't run test in IntelliJ getting error 

Error:java: invalid flag: --add-exports=java.base/sun.net.util=ALL-UNNAMED

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

Reply via email to