GitHub user SaintBacchus opened a pull request:
https://github.com/apache/spark/pull/5240
[SPARK-6584][CORE]Provide ExecutorPrefixTaskLocation to support the rdd
which can be aware of partition's executor location.
The function `RDD.getPreferredLocations` can only be set the host awareness
prefer locations.
If some RDD wants to be scheduled by executor(such as `BlockRDD`), spark
can do nothing for this.
So I want to provide `ExecutorPrefixTaskLocation` to support the rdd which
can be aware of partition's executor location. This mechanism can avoid data
transfor in the case of many executor in the same host.
I think it's very useful especially for `SparkStreaming` since the
`Receriver` save data into the `BlockMange`r and then become a `BlockRDD`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaintBacchus/spark ExecutorPrefixTaskLocation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5240.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 #5240
----
commit 271240d31113311aab0024f44f885fd821ace1a2
Author: huangzhaowei <[email protected]>
Date: 2015-03-28T09:56:36Z
Provide ExecutorPrefixTaskLocation to support the rdd which can be aware of
partition's executor location.
----
---
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]