File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -882,13 +882,6 @@ private[spark] class ExecutorAllocationManager(
882882 attempts.filter(attempt => unschedulableTaskSets.contains(attempt)).size
883883 }
884884
885- def hasPendingUnschedulableTasks : Boolean = {
886- val attemptSets = resourceProfileIdToStageAttempt.values
887- attemptSets.exists { attempts =>
888- attempts.exists(unschedulableTaskSets.contains(_))
889- }
890- }
891-
892885 def hasPendingTasks : Boolean = {
893886 hasPendingSpeculativeTasks || hasPendingRegularTasks
894887 }
Original file line number Diff line number Diff line change @@ -1041,8 +1041,8 @@ private[spark] class DAGScheduler(
10411041 }
10421042
10431043 private [scheduler] def handleUnschedulableTaskSetRemoved (
1044- stageId : Int ,
1045- stageAttemptId : Int ): Unit = {
1044+ stageId : Int ,
1045+ stageAttemptId : Int ): Unit = {
10461046 listenerBus.post(SparkListenerUnschedulableTaskSetRemoved (stageId, stageAttemptId))
10471047 }
10481048
You can’t perform that action at this time.
0 commit comments