File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
core/src/main/scala/org/apache/spark/scheduler Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -800,17 +800,16 @@ private[spark] class TaskSetManager(
800800 maybeFinishTaskSet()
801801
802802 // kill running task if stage failed
803- if (reason.isInstanceOf [FetchFailed ]) {
803+ if (reason.isInstanceOf [FetchFailed ]) {
804804 killTasks(runningTasksSet, taskInfos)
805805 }
806806 }
807807
808- def killTasks (tasks : HashSet [Long ], taskInfo : HashMap [Long , TaskInfo ]): Boolean = {
808+ def killTasks (tasks : HashSet [Long ], taskInfo : HashMap [Long , TaskInfo ]): Unit = {
809809 tasks.foreach { task =>
810810 val executorId = taskInfo(task).executorId
811811 sched.sc.schedulerBackend.killTask(task, executorId, true )
812812 }
813- true
814813 }
815814
816815 def abort (message : String , exception : Option [Throwable ] = None ): Unit = sched.synchronized {
You can’t perform that action at this time.
0 commit comments