Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -662,16 +662,17 @@ private[spark] class TaskSchedulerImpl(
// in order to provision more executors to make them schedulable
if (Utils.isDynamicAllocationEnabled(conf)) {
if (!unschedulableTaskSetToExpiryTime.contains(taskSet)) {
logInfo(s"Notifying ExecutorAllocationManager to allocate more executors to" +
s" schedule the unschedulable task before aborting $taskSet.")
logInfo("Notifying ExecutorAllocationManager to allocate more executors to" +
" schedule the unschedulable task before aborting" +
" stage ${taskSet.stageId}.")
dagScheduler.unschedulableTaskSetAdded(taskSet.taskSet.stageId,
taskSet.taskSet.stageAttemptId)
updateUnschedulableTaskSetTimeoutAndStartAbortTimer(taskSet, taskIndex)
}
} else {
// Abort Immediately
logInfo("Cannot schedule any task because of complete blacklisting. No idle" +
s" executors can be found to kill. Aborting $taskSet.")
s" executors can be found to kill. Aborting stage ${taskSet.stageId}.")
taskSet.abortSinceCompletelyBlacklisted(taskIndex)
}
}
Expand Down Expand Up @@ -742,7 +743,7 @@ private[spark] class TaskSchedulerImpl(
val timeout = conf.get(config.UNSCHEDULABLE_TASKSET_TIMEOUT) * 1000
unschedulableTaskSetToExpiryTime(taskSet) = clock.getTimeMillis() + timeout
logInfo(s"Waiting for $timeout ms for completely " +
s"blacklisted task to be schedulable again before aborting $taskSet.")
s"blacklisted task to be schedulable again before aborting stage ${taskSet.stageId}.")
abortTimer.schedule(
createUnschedulableTaskSetAbortTimer(taskSet, taskIndex), timeout)
}
Expand All @@ -755,7 +756,7 @@ private[spark] class TaskSchedulerImpl(
if (unschedulableTaskSetToExpiryTime.contains(taskSet) &&
unschedulableTaskSetToExpiryTime(taskSet) <= clock.getTimeMillis()) {
logInfo("Cannot schedule any task because of complete blacklisting. " +
s"Wait time for scheduling expired. Aborting $taskSet.")
s"Wait time for scheduling expired. Aborting stage ${taskSet.stageId}.")
taskSet.abortSinceCompletelyBlacklisted(taskIndex)
} else {
this.cancel()
Expand Down