This is an automated email from the ASF dual-hosted git repository.

jackylee-ch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new dd512bcbec [MINOR][CORE] Fix self-suppress in TaskResources.runUnsafe 
error handler (#12496)
dd512bcbec is described below

commit dd512bcbec5a7057023fea013115e18e5fadd127
Author: YangJie <[email protected]>
AuthorDate: Mon Jul 13 12:32:03 2026 +0800

    [MINOR][CORE] Fix self-suppress in TaskResources.runUnsafe error handler 
(#12496)
---
 gluten-core/src/main/scala/org/apache/spark/task/TaskResources.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/gluten-core/src/main/scala/org/apache/spark/task/TaskResources.scala 
b/gluten-core/src/main/scala/org/apache/spark/task/TaskResources.scala
index 1b148d9b2a..f20b0b6525 100644
--- a/gluten-core/src/main/scala/org/apache/spark/task/TaskResources.scala
+++ b/gluten-core/src/main/scala/org/apache/spark/task/TaskResources.scala
@@ -104,8 +104,8 @@ object TaskResources extends TaskListener with Logging {
             try {
               context.markTaskFailed(t)
             } catch {
-              case t: Throwable =>
-                t.addSuppressed(t)
+              case markFailure: Throwable =>
+                t.addSuppressed(markFailure)
             }
             context.markTaskCompleted(Some(t))
             throw t


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to