Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/7532#issuecomment-126816568
@vanzin I just looked at the code again and there doesn't seem to be a
great way to separate it out. This is because, in the "one executor per worker"
case, we actually need to keep scheduling cores on the existing executors even
when we're already at the limit. E.g. if the limit is 3 and we have already
scheduled 1 core on each worker (1, 1, 1), we should keep scheduling even
though we already "have" 3 executors.
Instead, I updated the comment and variable placement to make this easier
to read.
---
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]