Github user pwendell commented on a diff in the pull request: https://github.com/apache/spark/pull/908#discussion_r13168831 --- Diff: docs/graphx-programming-guide.md --- @@ -92,6 +92,32 @@ GraphX in Spark {{site.SPARK_VERSION}} contains one user-facing interface change [EdgeRDD]: api/scala/index.html#org.apache.spark.graphx.EdgeRDD +## Workaround for `Graph.partitionBy` in Spark 1.0.0 +<a name="partitionBy_workaround"></a> + +The [`Graph.partitionBy`][Graph.partitionBy] operator allows users to choose the graph partitioning strategy, but due to [SPARK-1931](https://issues.apache.org/jira/browse/SPARK-1931), this method is broken in Spark 1.0.0. 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, as follows: --- End diff -- I'd actually suggest they build spark from the 1.0 branch if this fix is the main thing they are interested in.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---