Skip to content

Commit 2df8e7a

Browse files
WeichenXu123Jackey Lee
authored andcommitted
[DOC][MINOR] Fix minor error in the code of graphx guide
## 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 apache#22780 from WeichenXu123/minor_doc_update1. Authored-by: WeichenXu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent b4325eb commit 2df8e7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/graphx-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ class GraphOps[VD, ED] {
726726
var g = mapVertices( (vid, vdata) => vprog(vid, vdata, initialMsg) ).cache()
727727

728728
// compute the messages
729-
var messages = g.mapReduceTriplets(sendMsg, mergeMsg)
729+
var messages = GraphXUtils.mapReduceTriplets(g, sendMsg, mergeMsg)
730730
var activeMessages = messages.count()
731731
// Loop until no messages remain or maxIterations is achieved
732732
var i = 0

0 commit comments

Comments
 (0)