Github user squito commented on a diff in the pull request:
https://github.com/apache/spark/pull/15249#discussion_r81865871
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
@@ -766,9 +782,11 @@ private[spark] class TaskSetManager(
logWarning(failureReason)
None
}
- // always add to failed executors
- failedExecutors.getOrElseUpdate(index, new HashMap[String, Long]()).
- put(info.executorId, clock.getTimeMillis())
+
+ if (reason.countTowardsTaskFailures) {
--- End diff --
`failedExecutors` was the variable for the old blacklisting mechanism, its
completely gone now. had nothing to do with executors that have failed
completely, despite the name:
```scala
// key is taskId (aka TaskInfo.index), value is a Map of executor id to
when it failed
private val failedExecutors = new HashMap[Int, HashMap[String, Long]]()
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]