GitHub user devaraj-kavali opened a pull request: https://github.com/apache/spark/pull/16705
[SPARK-19354] [Core] Killed tasks are getting marked as FAILED ## What changes were proposed in this pull request? Handling the exception which occurs during the kill and logging it instead of re-throwing the exception which causes to mark the task as FAILED. ## How was this patch tested? I verified this manually by running multiple applications, with the patch changes when any exception occurs during kill, it logs the exception and continues with the kill process. It shows/considers the task as KILLED in Web UI sections of 'Details for Job' and 'Aggregated Metrics by Executor'. You can merge this pull request into a Git repository by running: $ git pull https://github.com/devaraj-kavali/spark SPARK-19354 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16705.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 #16705 ---- commit d472245bb7392db4dc1b260eeafba1470448ef03 Author: Devaraj K <deva...@apache.org> Date: 2017-01-25T21:33:09Z [SPARK-19354] [Core] Killed tasks are getting marked 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 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