[jira] [Created] (FLINK-11423) Propagate the error message from Main method to JarRunHandler

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

[jira] [Created] (FLINK-11423) Propagate the error message from Main method to JarRunHandler

Shang Yuanchun (Jira)
Lavkesh Lahngir created FLINK-11423:
---------------------------------------

             Summary: Propagate the error message from Main method to JarRunHandler
                 Key: FLINK-11423
                 URL: https://issues.apache.org/jira/browse/FLINK-11423
             Project: Flink
          Issue Type: Improvement
          Components: Job-Submission
            Reporter: Lavkesh Lahngir
            Assignee: Lavkesh Lahngir


The jar/run API calls JarRunHandler
The client only receives a simple message like "The main method caused an error"
without any more detail.
When we throw ProgramInvocationException in PackagedProgram.callMainMethod()
we should add exceptionInMethod.getMessage() too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)