Github user caneGuy commented on a diff in the pull request:
https://github.com/apache/spark/pull/18739#discussion_r129850468
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
@@ -665,10 +667,15 @@ private[spark] class TaskSetManager(
}
}
if (blacklistedEverywhere) {
- val partition = tasks(indexInTaskSet).partitionId
- abort(s"Aborting $taskSet because task $indexInTaskSet
(partition $partition) " +
- s"cannot run anywhere due to node and executor blacklist.
Blacklisting behavior " +
- s"can be configured via spark.blacklist.*.")
+ val dynamicAllocationEnabled =
conf.getBoolean("spark.dynamicAllocation.enabled", false)
+ val mayAllocateNewExecutor =
+ conf.getInt("spark.executor.instances", -1) >
currentExecutorNumber
+ if (!dynamicAllocationEnabled && !mayAllocateNewExecutor) {
--- End diff --
All right, i will look into SPARK-15815.Thanks!
---
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]