GitHub user buptljy opened a pull request:
https://github.com/apache/flink/pull/5877
[FLINK-8785][Job-Submission]Handle JobSubmissionExceptions
## What is the purpose of the change
We will get an "Internal server error" exception if we submit a jobgraph
with a restclusterclient. This PR helps us get more details and causes of the
exception, such as "The jobgraph is empty" message.
## Brief change log
Add causes and details of an exception which happens in job submission.
## Verifying this change
## Does this pull request potentially affect one of the following parts:
## Documentation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/buptljy/flink 8785
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5877.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5877
----
commit 443a3c0fda861cd5324083df93ed5080c2f9f476
Author: wind <bupt_ljy@...>
Date: 2018-04-18T17:29:14Z
add error messages
----
---