Github user CodingCat commented on the pull request:
https://github.com/apache/spark/pull/731#issuecomment-86787320
@andrewor14 I think in spreadApp mode, grabing all cores when
`spark.deploy.maxCoresPerExecutor` is not defined is *not* the right approach...
if we grab all cores, it is exactly equivalent to `non-spreadApp mode` in
the implementation in current master branch. Instead, we should traverse all
workers one by one, for each visit, we allocate 1 free core to the executor
when `spark.deploy.maxCoresPerExecutor == None`; otherwise, for each visit, we
assign at most `spark.deploy.maxCoresPerExecutor` cores
am I right?
---
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]