GitHub user mxm opened a pull request:
https://github.com/apache/flink/pull/838
[YARN] fail container on failed single job cluster job
Failing jobs executed in the YARN cluster mode leave the application
container in the "SUCCEEDED" final state. While for long-running Flink
YARN clusters where multiple jobs are run, this is fine, for single jobs
it is appropriate to mark the container as failed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mxm/flink yarn-exit
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/838.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 #838
----
commit 97ed27d6ff68097f211f3173a2e606d08f1ba9da
Author: Maximilian Michels <[email protected]>
Date: 2015-06-15T14:37:35Z
[YARN] fail container on failed single job cluster job
Failing jobs executed in the YARN cluster mode leave the application
container in the "SUCCEEDED" final state. While for long-running Flink
YARN clusters where multiple jobs are run, this is fine, for single jobs
it is appropriate to mark the container as failed.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---