spark git commit: [DOC][MINOR] Fix minor error in the code of graphx guide

2018-10-20 Thread dongjoon
Repository: spark
Updated Branches:
  refs/heads/branch-2.2 d6542fa3f -> ca950c17f


[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 #22780 from WeichenXu123/minor_doc_update1.

Authored-by: WeichenXu 
Signed-off-by: Dongjoon Hyun 
(cherry picked from commit 3b4f35f568eb3844d2a789c8a409bc705477df6b)
Signed-off-by: Dongjoon Hyun 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ca950c17
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ca950c17
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ca950c17

Branch: refs/heads/branch-2.2
Commit: ca950c17f19f891d7fd8dd45dcc7af0e8f8fc58b
Parents: d6542fa
Author: WeichenXu 
Authored: Sat Oct 20 10:32:09 2018 -0700
Committer: Dongjoon Hyun 
Committed: Sat Oct 20 10:33:07 2018 -0700

--
 docs/graphx-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/ca950c17/docs/graphx-programming-guide.md
--
diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md
index 46225dc..14da2d6 100644
--- a/docs/graphx-programming-guide.md
+++ b/docs/graphx-programming-guide.md
@@ -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


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



spark git commit: [DOC][MINOR] Fix minor error in the code of graphx guide

2018-10-20 Thread dongjoon
Repository: spark
Updated Branches:
  refs/heads/branch-2.3 5cef11acc -> 719ff7af6


[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 #22780 from WeichenXu123/minor_doc_update1.

Authored-by: WeichenXu 
Signed-off-by: Dongjoon Hyun 
(cherry picked from commit 3b4f35f568eb3844d2a789c8a409bc705477df6b)
Signed-off-by: Dongjoon Hyun 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/719ff7af
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/719ff7af
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/719ff7af

Branch: refs/heads/branch-2.3
Commit: 719ff7af645389e878b2a452f4a4318cc9248de3
Parents: 5cef11a
Author: WeichenXu 
Authored: Sat Oct 20 10:32:09 2018 -0700
Committer: Dongjoon Hyun 
Committed: Sat Oct 20 10:32:45 2018 -0700

--
 docs/graphx-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/719ff7af/docs/graphx-programming-guide.md
--
diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md
index 5c97a24..ed8f836 100644
--- a/docs/graphx-programming-guide.md
+++ b/docs/graphx-programming-guide.md
@@ -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


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



spark git commit: [DOC][MINOR] Fix minor error in the code of graphx guide

2018-10-20 Thread dongjoon
Repository: spark
Updated Branches:
  refs/heads/branch-2.4 869242c6b -> 0239277dd


[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 #22780 from WeichenXu123/minor_doc_update1.

Authored-by: WeichenXu 
Signed-off-by: Dongjoon Hyun 
(cherry picked from commit 3b4f35f568eb3844d2a789c8a409bc705477df6b)
Signed-off-by: Dongjoon Hyun 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0239277d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0239277d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0239277d

Branch: refs/heads/branch-2.4
Commit: 0239277dd3e56e355101381da80d6538a7297db9
Parents: 869242c
Author: WeichenXu 
Authored: Sat Oct 20 10:32:09 2018 -0700
Committer: Dongjoon Hyun 
Committed: Sat Oct 20 10:32:23 2018 -0700

--
 docs/graphx-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/0239277d/docs/graphx-programming-guide.md
--
diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md
index 3529334..cb96fd7 100644
--- a/docs/graphx-programming-guide.md
+++ b/docs/graphx-programming-guide.md
@@ -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


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org