GitHub user Sephiroth-Lin opened a pull request: https://github.com/apache/spark/pull/7846
[SPARK-9519][Yarn] Confirm stop sc successfully when application was killed Currently, when we kill application on Yarn, then will call sc.stop() at Yarn application state monitor thread, then in YarnClientSchedulerBackend.stop() will call interrupt this will cause SparkContext not stop fully as we will wait executor to exit. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Sephiroth-Lin/spark SPARK-9519 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/7846.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 #7846 ---- commit 243d2c79b7587e33bf32d8df3c5adcbe6fa9b251 Author: linweizhong <linweizh...@huawei.com> Date: 2015-08-01T03:05:21Z Confirm stop sc successfully when application was killed ---- --- 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. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org