Skip to content

[SPARK-9380] [DOC] Pregel example type fix #7695

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

Closed
wants to merge 1 commit into from

Conversation

avulanov
Copy link
Contributor

Pregel example to express single source shortest path from https://spark.apache.org/docs/latest/graphx-programming-guide.html#pregel-api does not work due to incorrect type. The reason is that GraphGenerators.logNormalGraph returns the graph with Long vertices. Fixing val graph: Graph[Int, Double] to val graph: Graph[Long, Double].

@srowen
Copy link
Member

srowen commented Jul 27, 2015

LGTM

@SparkQA
Copy link

SparkQA commented Jul 27, 2015

Test build #38541 has finished for PR 7695 at commit c269429.

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

@sarutak
Copy link
Member

sarutak commented Jul 27, 2015

LGTM as well. Merging into master and branch-1.4. Thanks @avulanov !

asfgit pushed a commit that referenced this pull request Jul 27, 2015
Pregel example to express single source shortest path from https://spark.apache.org/docs/latest/graphx-programming-guide.html#pregel-api does not work due to incorrect type. The reason is that `GraphGenerators.logNormalGraph` returns the graph with `Long` vertices. Fixing `val graph: Graph[Int, Double]` to `val graph: Graph[Long, Double]`.

Author: Alexander Ulanov <[email protected]>

Closes #7695 from avulanov/SPARK-9380-pregel-doc and squashes the following commits:

c269429 [Alexander Ulanov] Pregel example type fix

(cherry picked from commit 90006f3)
Signed-off-by: Kousuke Saruta <[email protected]>
@asfgit asfgit closed this in 90006f3 Jul 27, 2015
@avulanov avulanov changed the title Pregel example type fix [SPARK-9380] [DOC] Pregel example type fix Jul 29, 2015
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