GitHub user sachingoel0101 opened a pull request: https://github.com/apache/flink/pull/1354
[FLINK-3000]Adds shutdown hook to clean up lingering yarn sessions Adds a shutdown hook to cleanup the submitted yarn application while the user cancels it in any but a `RUNNING` state. If running, there are two cases: Detached and Non-detached. Non detached modes will connect to the cluster and add a shut down hook, while detached ones, well, since they're detached, once deployed, users have to cancel them explicitly. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sachingoel0101/flink yarn_cli Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1354.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 #1354 ---- commit e1b8778491bf8fd592bddc8fe157d8aa8c150b7f Author: Sachin Goel <sachingoel0...@gmail.com> Date: 2015-11-15T00:41:30Z Adds shutdown hook to clean up lingering yarn sessions ---- --- 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. ---