-
- Downloads
Enable repartitioning of graph over different number of partitions
It is currently very difficult to repartition a graph over a different number of partitions. This PR adds an additional `partitionBy` function that takes the number of partitions. Author: Joseph E. Gonzalez <joseph.e.gonzalez@gmail.com> Closes #719 from jegonzal/graph_partitioning_options and squashes the following commits: 730b405 [Joseph E. Gonzalez] adding an additional number of partitions option to partitionBy
Showing
- graphx/src/main/scala/org/apache/spark/graphx/Graph.scala 10 additions, 0 deletionsgraphx/src/main/scala/org/apache/spark/graphx/Graph.scala
- graphx/src/main/scala/org/apache/spark/graphx/PartitionStrategy.scala 5 additions, 3 deletions...ain/scala/org/apache/spark/graphx/PartitionStrategy.scala
- graphx/src/main/scala/org/apache/spark/graphx/impl/GraphImpl.scala 5 additions, 1 deletion...c/main/scala/org/apache/spark/graphx/impl/GraphImpl.scala
Loading
Please register or sign in to comment