Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/6662#discussion_r31831782
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/cluster/YarnSchedulerBackend.scala
---
@@ -53,7 +53,10 @@ private[spark] abstract class YarnSchedulerBackend(
* This includes executors already pending or running.
*/
override def doRequestTotalExecutors(requestedTotal: Int): Boolean = {
-
yarnSchedulerEndpoint.askWithRetry[Boolean](RequestExecutors(requestedTotal))
+ if (conf.getBoolean("spark.dynamicAllocation.enabled", false)) {
--- End diff --
Can you explain how this method is called with dynamic allocation disabled?
The only call chain I can find starts with `ExecutorAllocationManager`,
which is not instantiated when dynamic allocation is off.
---
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]