superdupershant commented on code in PR #44953:
URL: https://github.com/apache/spark/pull/44953#discussion_r1471748940


##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -2831,10 +2831,16 @@ private[spark] class DAGScheduler(
     failedStage.latestInfo.completionTime = Some(clock.getTimeMillis())
     updateStageInfoForPushBasedShuffle(failedStage)
     for (job <- dependentJobs) {
-      failJobAndIndependentStages(
-        job,
+      val finalException = exception.collect {
+        // If the error is well defined (has an error class and is not 
internal error), we treat
+        // it as user-facing, and expose this error to the end users directly.

Review Comment:
   This includes more exception types than just those that match 
isRuntimeUserError() right? I think we might want a different name somewhere, 
people might get user-facing error and user error mixed up?



-- 
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