Github user hbhanawat commented on a diff in the pull request: https://github.com/apache/spark/pull/11723#discussion_r57309250 --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala --- @@ -149,7 +149,14 @@ private[spark] class Executor( tr.kill(interruptThread) } } - + def killAllTasks (interruptThread: Boolean) : Unit = { --- End diff -- 1. Done 2. We are targeting a use case where in executors are launched inside another running process and when an executor goes down, it does not take the parent parent process down. In such cases, executors should kill the running tasks when they go down. Given that, the runningtasks a private val, we need a method that can be called from the executor backend.
--- 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