GitHub user ArcherShao opened a pull request:
https://github.com/apache/spark/pull/5114
[SPARK-5961][Streaming]Allow specific nodes in a Spark Streaming cluster to
be preferred as Receiver Worker Nodes
1.The function âsetPreferredLocationâ is in class ReceiverInputDStream.
2.FlumeInputDStream take data send node as the defalut PreferredLocation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ArcherShao/spark receiver-preferred-location
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5114.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 #5114
----
commit 324d103180ec2e2bc2824da4fb5efaf4579db098
Author: ArcherShao <[email protected]>
Date: 2015-03-21T07:08:34Z
Allow specific nodes in a Spark Streaming cluster to be dedicated/preferred
as Receiver Worker Nodes versus regular Spark Worker Nodes
commit f189b08514c73bdc7de802324affd913b3ef474f
Author: ArcherShao <[email protected]>
Date: 2015-03-21T07:34:14Z
update
----
---
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]