AngersZhuuuu commented on code in PR #53379:
URL: https://github.com/apache/spark/pull/53379#discussion_r2597271165


##########
core/src/main/scala/org/apache/spark/executor/Executor.scala:
##########
@@ -407,10 +407,6 @@ private[spark] class Executor(
             TaskState.FAILED,
             env.closureSerializer.newInstance().serialize(new 
ExceptionFailure(t, Seq.empty)))
         } catch {
-          case oom: OutOfMemoryError =>
-            logError(log"Executor update launching task ${MDC(TASK_NAME, 
taskDescription.name)} " +
-              log"failed status failed, reason: ${MDC(REASON, 
oom.getMessage)}")
-            System.exit(SparkExitCode.OOM)

Review Comment:
   No, `SparkUncaughtExceptionHandler.uncaughtException()`  works after task 
running,
   it start task failed, won't work.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to