attilapiros commented on code in PR #50630: URL: https://github.com/apache/spark/pull/50630#discussion_r2093661921
########## core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala: ########## @@ -1552,6 +1552,20 @@ private[spark] class DAGScheduler( // `findMissingPartitions()` returns all partitions every time. stage match { case sms: ShuffleMapStage if stage.isIndeterminate && !sms.isAvailable => + // already executed atleast once + if (sms.getNextAttemptId > 0) { + val stagesToRollback = collectSucceedingStages(sms) + rollBackStages(stagesToRollback) + // stages which cannot be rolled back were aborted which leads to removing the + // the dependant job(s) from the active jobs set Review Comment: Here the situation is a bit different as we are in the middle of a `submitMissingTasks`. So we just end this method early as the resubmit of the missing tasks of the stage does not needed when the whole job is aborted. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org