GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/406
[FLINK-1556] Corrects faulty JobClient behaviour in case of a submission failure If an error occurred during job submission, a ```SubmissionFailure``` is sent to the ```JobClient```. As a reaction, the ```JobClient``` terminated itself and sent the failure to the ```Client```. However, this does not necessarily mean that the job has reached a terminal state, because the failing procedure is executed asynchronously. The ```JobClient``` now waits until it receives a ```JobResult``` message indicating that the job has completed and all resources are properly returned. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink minorFixes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/406.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 #406 ---- commit 2f32e9c6b87b8e295f792c04306d78fbb858f80d Author: Till Rohrmann <trohrm...@apache.org> Date: 2015-02-16T09:17:21Z [FLINK-1556] [runtime] Corrects faulty JobClient behaviour in case of a submission failure ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---