Or maybe I am missing something? It looks like the JIRA is trying to solve the same issues I stated 🤔 In the main method, I just threw a simple new Exception("Some message") and I got the response I mentioned from the rest API.
Thanks. On Wed, Jan 23, 2019 at 2:50 PM Lavkesh Lahngir <lavk...@linux.com> wrote: > Hello, > The change in FLINK-10312 > <https://issues.apache.org/jira/browse/FLINK-10312> makes REST response > of the API > <https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/rest_api.html#jars-jarid-run> > not > very informative. It strips the stack trace and returns a generic message. > People using flink-cluster deployment who do not have access to job manager > logs, will not be able to figure out the root cause. > In the case of when the job submission fails, > In 1.6.2, I get > { > "errors": [ > "org.apache.flink.client.program.ProgramInvocationException: The > main method caused an error." > ] > } > > Is there a plan to improve error messages sent to the client? > Is somebody working on this already? > > Thanks in advance. > ~Lavkesh >