Skip to content

Commit

Permalink
[DOC][MINOR] Fix minor error in the code of graphx guide
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?

Fix minor error in the code "sketch of pregel implementation" of GraphX guide.
This fixed error relates to `[SPARK-12995][GraphX] Remove deprecate APIs from Pregel`

## How was this patch tested?

N/A

Closes #22780 from WeichenXu123/minor_doc_update1.

Authored-by: WeichenXu <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 3b4f35f)
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
WeichenXu123 authored and dongjoon-hyun committed Oct 20, 2018
1 parent 869242c commit 0239277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/graphx-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ class GraphOps[VD, ED] {
var g = mapVertices( (vid, vdata) => vprog(vid, vdata, initialMsg) ).cache()

// compute the messages
var messages = g.mapReduceTriplets(sendMsg, mergeMsg)
var messages = GraphXUtils.mapReduceTriplets(g, sendMsg, mergeMsg)
var activeMessages = messages.count()
// Loop until no messages remain or maxIterations is achieved
var i = 0
Expand Down

0 comments on commit 0239277

Please sign in to comment.