Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/2840#issuecomment-60870350
I believe `missing` can't be negative, because that would imply
`maxExecutors < numPendingAllocate + numExecutorsRunning`. We only decrease
`maxExecutors` from kill executor, and we can't kill an executor that is still
pending because we don't know its ID. This means we can only kill up to
`numExecutorsRunning` executors, at which point `maxExecutors` becomes 0.
---
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]