GitHub user ankurdave opened a pull request:
https://github.com/apache/spark/pull/908
Suggest workarounds for partitionBy in Spark 1.0.0 due to SPARK-1931
The Graph.partitionBy operator allows users to choose the graph
partitioning strategy, but due to SPARK-1931, this method is broken in Spark
1.0.0. This PR updates the GraphX docs for Spark 1.0.0 to encourage users to
build the latest version of Spark from the master branch, which contains a fix.
Alternatively, it suggests a workaround involving partitioning the edges before
constructing the graph.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ankurdave/spark SPARK-1931_docs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/908.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 #908
----
commit 9ca3d58615b1fad739d358816c167e1748bd2a3a
Author: Ankur Dave <[email protected]>
Date: 2014-05-29T00:31:41Z
Suggest workarounds for partitionBy in Spark 1.0.0 due to SPARK-1931
We encourage users to build the latest version of Spark from the master
branch, which contains a fix. Alternatively, a workaround is to partition the
edges before constructing the graph.
----
---
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.
---