Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/15405#discussion_r82671287
--- Diff: core/src/main/scala/org/apache/spark/deploy/master/Master.scala
---
@@ -637,6 +637,16 @@ private[deploy] class Master(
}
freeWorkers = freeWorkers.filter(canLaunchExecutor)
}
+
+ val numExecutorsScheduled = assignedExecutors.sum
+ val numExecutorsLaunched = app.executors.size
+ // Check to see if we managed to launch the requested number of
executors
+ if(numUsable != 0 && numExecutorsLaunched != app.executorLimit &&
+ numExecutorsScheduled != app.executorLimit) {
--- End diff --
Another thing is, how noisy is this? Do we log this if dynamic allocation
is turned on (we shouldn't)?
---
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]