Github user CodingCat commented on the pull request:
https://github.com/apache/spark/pull/1313#issuecomment-51098059
In the current version (no delay for nopref tasks at all)
yes, we check node-local tasks prior to no-pref tasks, if none, we can
launch no-pref immediately, don't need to wait for any locality-wait duration
(in most of cases)
yes, for the disadvantage, it's within the same job,
e.g. when there are some process-local tasks, node-local tasks, and nopref
tasks, node-local ones may not be able to run before due to the delay
scheduling, but it will go forward to check nopref tasks, then we break the
rule that nodeLocal is always prior to nopref
Fine granularity tracking can resolve the disadvantage above....
---
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]