Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.10.0, 1.11.0, 1.12.0
Description
In FLINK-14850 we changed the execute() method to be basically
final JobClient jobClient = executeAsync(...); return jobClient.getJobExecutionResult(userClassloader).get();
Unfortunately, this means that execute() now throws an ExecutionException instead of a ProgramInvocationException or JobExecutionException as before. The ExecutionException is wrapping the other exceptions that we were throwing before.
We didn't notice this in tests because most tests use Test(Stream)Environment which overrides the execute() method and so doesn't go through the PipelineExecutor logic or the normal code path of delegating to executeAsync().
We should fix this to go back to the old behaviour.
Attachments
Issue Links
- relates to
-
FLINK-19123 TestStreamEnvironment does not use shared MiniCluster for executeAsync()
- Closed
- links to