toujours33 commented on code in PR #38711: URL: https://github.com/apache/spark/pull/38711#discussion_r1034274241
########## core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala: ########## @@ -643,10 +643,11 @@ private[spark] class ExecutorAllocationManager( // Should be 0 when no stages are active. private val stageAttemptToNumRunningTask = new mutable.HashMap[StageAttempt, Int] private val stageAttemptToTaskIndices = new mutable.HashMap[StageAttempt, mutable.HashSet[Int]] - // Number of speculative tasks pending/running in each stageAttempt - private val stageAttemptToNumSpeculativeTasks = new mutable.HashMap[StageAttempt, Int] - // The speculative tasks started in each stageAttempt + // Number of speculative tasks running in each stageAttempt private val stageAttemptToSpeculativeTaskIndices = + new mutable.HashMap[StageAttempt, mutable.HashSet[Int]]() Review Comment: I will add a todo to mark this -- 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