cloud-fan commented on code in PR #49270:
URL: https://github.com/apache/spark/pull/49270#discussion_r1896380208
##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -2937,7 +2937,9 @@ private[spark] class DAGScheduler(
} else {
// This stage is only used by the job, so finish the stage if it is
running.
val stage = stageIdToStage(stageId)
- if (runningStages.contains(stage)) {
+ val isRunningStage = runningStages.contains(stage) ||
+ (waitingStages.contains(stage) &&
taskScheduler.hasRunningTasks(stageId))
Review Comment:
and can we add a special flag to indicate the waiting stages that are
submitted due to retry?
--
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]