You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-20250][CORE] Improper OOM error when a task been killed while spilling data
Currently, when a task is calling spill() but it receives a killing request from driver (e.g., speculative task), the `TaskMemoryManager` will throw an `OOM` exception. And we don't catch `Fatal` exception when a error caused by `Thread.interrupt`. So for `ClosedByInterruptException`, we should throw `RuntimeException` instead of `OutOfMemoryError`.
https://issues.apache.org/jira/browse/SPARK-20250?jql=project%20%3D%20SPARK
Existing unit tests.
Author: Xianyang Liu <[email protected]>
Closes#18090 from ConeyLiu/SPARK-20250.
(cherry picked from commit 731462a)
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments