xuanyuanking commented on a change in pull request #25498: [SPARK-28699][Core]
Fix a corner case for aborting indeterminate stage
URL: https://github.com/apache/spark/pull/25498#discussion_r315485045
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -2741,27 +2741,8 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
FetchFailed(makeBlockManagerId("hostC"), shuffleId2, 0, 0, "ignored"),
null))
- val failedStages = scheduler.failedStages.toSeq
- assert(failedStages.length == 2)
Review comment:
After this change, `failedStages.length == 0` because we do the cleanup work
in `failJobAndIndependentStages` by `cleanupStateForJobAndIndependentStages`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]