[ 
https://issues.apache.org/jira/browse/FLINK-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-13649:
-----------------------------------
      Labels: auto-deprioritized-major auto-deprioritized-minor  (was: 
auto-deprioritized-major stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> Improve error message when job submission was not successful
> ------------------------------------------------------------
>
>                 Key: FLINK-13649
>                 URL: https://issues.apache.org/jira/browse/FLINK-13649
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Web Frontend
>            Reporter: Timo Walther
>            Priority: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> When submitting a job jar in the web frontend, a user only gets "Internal 
> server error" when something went wrong.
> For example, submitting a batch job with {{ExecutionEnvironment env = 
> ExecutionEnvironment.createCollectionsEnvironment();}}.
> The logs show a better error message:
> {code}
> 2019-08-08 11:07:18,512 INFO  org.apache.flink.api.java.ExecutionEnvironment  
>               - The job has 0 registered types and 0 default Kryo serializers
> 2019-08-08 11:07:18,537 ERROR 
> org.apache.flink.runtime.webmonitor.handlers.JarRunHandler    - Unhandled 
> exception.
> org.apache.flink.client.program.ProgramInvocationException: The program plan 
> could not be fetched - the program aborted pre-maturely.
> System.err: (none)
> System.out: WC Hello 2
>       at 
> org.apache.flink.client.program.OptimizerPlanEnvironment.getOptimizedPlan(OptimizerPlanEnvironment.java:108)
>       at 
> org.apache.flink.client.program.PackagedProgramUtils.createJobGraph(PackagedProgramUtils.java:80)
>       at 
> org.apache.flink.runtime.webmonitor.handlers.utils.JarHandlerUtils$JarHandlerContext.toJobGraph(JarHandlerUtils.java:126)
>       at 
> org.apache.flink.runtime.webmonitor.handlers.JarRunHandler.lambda$getJobGraphAsync$6(JarRunHandler.java:142)
>       at 
> java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to