Ngone51 commented on code in PR #43954: URL: https://github.com/apache/spark/pull/43954#discussion_r1448451079
########## core/src/main/scala/org/apache/spark/scheduler/TaskScheduler.scala: ########## @@ -54,9 +54,9 @@ private[spark] trait TaskScheduler { // Submit a sequence of tasks to run. def submitTasks(taskSet: TaskSet): Unit - // Kill all the tasks in a stage and fail the stage and all the jobs that depend on the stage. + // Kill all the tasks in all the stage attempts of the same stage Id // Throw UnsupportedOperationException if the backend doesn't support kill tasks. - def cancelTasks(stageId: Int, interruptThread: Boolean, reason: String): Unit + def killAllTaskAttempts(stageId: Int, interruptThread: Boolean, reason: String): Unit Review Comment: Updated, thanks! -- 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