Github user tillrohrmann commented on the pull request: https://github.com/apache/flink/pull/1048#issuecomment-135767450 I agree. In both cases the compiler cannot help much to avoid forgetting about it and, thus, it's the responsibility of the programmer to make sure that the failure case is handled properly. It should be added to the description of the `JobSubmitAndWait` message what can expected as the return value of the future.
--- 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. ---