GitHub user li-zhihui opened a pull request:
https://github.com/apache/spark/pull/1131
[SPARK-2193] Improve tasks preferrd locality by sorting tasks partial or...
Now, the last executor(s) maybe not get itâs preferred task(s), although
these tasks have build in pendingTasksForHosts map. Because executers pick up
tasks sequential, their preferred task(s) maybe picked up by other executors.
This appearance can be eliminated by sorting tasks partial ordering.
Executor pick up task by hostâs order of taskâs preferredLocation, that
mean, executor firstly pick up all tasks which task.preferredLocations.1 =
executor.hostName, then secondlyâ¦
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/li-zhihui/spark sorttasks
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1131.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1131
----
commit a38d5f5baaae54d6e6d9a9e463c265ef4e5fc968
Author: li-zhihui <[email protected]>
Date: 2014-06-19T08:09:09Z
[SPARK-2193] Improve tasks preferrd locality by sorting tasks partial
ordering.
----
---
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.
---