Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21019#discussion_r181778477
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1433,6 +1426,16 @@ class DAGScheduler(
}
}
+ private[scheduler] def markMapStageJobsAsFinished(shuffleStage:
ShuffleMapStage): Unit = {
+ // Mark any map-stage jobs waiting on this stage as finished
+ if (shuffleStage.isAvailable && shuffleStage.mapStageJobs.nonEmpty) {
--- End diff --
Why do we need to double check that `shuffleStage.isAvailable` here?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]