Github user jerryshao commented on the pull request:
https://github.com/apache/spark/pull/4841#issuecomment-77085933
Hi @srowen , maybe the name is not good. The reason why I add a third value
is that:
1. The difference compared to `coresGranted` is that `coresGranted` will be
changed according to the executor's adding and removing, and it will be zero
when app is finished, so we cannot use this value to reflect the actual cores
requested when app is finished.
2. Also as I said previously `requestedCores` is the number of cores user
configured, different from the actual cores requested from application master.
Probably here `actualCoresRequested` is more likely to be `maxCoresGranted`.
---
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]