Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21898#discussion_r206521448
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskScheduler.scala ---
    @@ -61,6 +61,9 @@ private[spark] trait TaskScheduler {
        */
       def killTaskAttempt(taskId: Long, interruptThread: Boolean, reason: 
String): Boolean
     
    +  // Kill all the running task attempts in a stage.
    +  def killAllTaskAttempts(stageId: Int, interruptThread: Boolean, reason: 
String): Unit
    --- End diff --
    
    why do we need this?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to