Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-8718] [GRAPHX] Improve EdgePartition2D for non perfect square number of partitions #7104

Closed
wants to merge 9 commits into from

Conversation

aray
Copy link
Contributor

@aray aray commented Jun 30, 2015

@@ -32,7 +32,7 @@ trait PartitionStrategy extends Serializable {
object PartitionStrategy {
/**
* Assigns edges to partitions using a 2D partitioning of the sparse edge adjacency matrix,
* guaranteeing a `2 * sqrt(numParts) - 1` bound on vertex replication.
* guaranteeing a `2 * sqrt(numParts)` bound on vertex replication.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note I'm changing the bounds given in the doc since they were never correct for non perfect squares.

@ankurdave
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Jun 30, 2015

Test build #36081 has finished for PR 7104 at commit 3729f84.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@asfgit asfgit closed this in 0a4071e Jul 14, 2015
@ankurdave
Copy link
Contributor

Thanks for the PR and writeup! Merged into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants