Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/4168#issuecomment-73625504
  
    @sryza I may be missing something but I don't understand why 
`numPendingExecutors` should be rederived from the user calling 
`requestTotalExecutors` every time. What exactly was the issue with 
decrementing it as we did before? Also I believe the current code is incorrect 
because the user (or us internally) may call either `requestExecutor` or 
`requestTotalExecutors`, and now we only reset it for the latter. If we were to 
do this we should do it in `doRequestTotalExecutors` instead.


---
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]

Reply via email to