sarutak commented on a change in pull request #34607: URL: https://github.com/apache/spark/pull/34607#discussion_r750963340
########## File path: core/src/main/scala/org/apache/spark/status/AppStatusListener.scala ########## @@ -600,6 +600,12 @@ private[spark] class AppStatusListener( liveUpdate(task, now) Option(liveStages.get((event.stageId, event.stageAttemptId))).foreach { stage => + if (event.taskInfo.speculative) { + stage.speculationStageSummary.numActiveTasks += 1 + stage.speculationStageSummary.numTasks += 1 + } + maybeUpdate(stage.speculationStageSummary, now) Review comment: Should we update only if the task is speculative? -- 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