Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-51011][CORE] Add logging for whether a task is going to be int…
…errupted when killed ### What changes were proposed in this pull request? We now log the value of `interruptThread` when a `TaskRunner`'s `kill` method is killed. This should help with debugging when potential zombie Spark tasks do not seem to be exiting. ### Why are the changes needed? Today, it's tricky to debug why a task is not exiting (and thus, why executors might be getting lost) without knowing for sure if it was issued a Java interrupt. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Ran `org.apache.spark.executor.ExecutorSuite` and verified the log looked as expected. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #49699 from neilramaswamy/spark-51011. Lead-authored-by: Neil Ramaswamy <[email protected]> Co-authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information