GitHub user shijinkui opened a pull request: https://github.com/apache/spark/pull/3883
[SPARK-5062][Graphx] replace mapReduceTriplets with aggregateMessage in Pregel Api since spark 1.2 introduce aggregateMessage instead of mapReduceTriplets, it improve the performance indeed. it's time to replace mapReduceTriplets with aggregateMessage in Pregel. i provide a deprecated method thinking about compatibility ---------- i have draw a graph of aggregateMessage to show why it can improve the performance. ![graphx_aggreate_msg](https://cloud.githubusercontent.com/assets/648508/5601161/0444efdc-932b-11e4-8944-8e132339be9b.jpg) dfgdfgd You can merge this pull request into a Git repository by running: $ git pull https://github.com/shijinkui/spark pregel_agg Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3883.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3883 ---- commit 93ae74bc5c9011719775e9862f2577777c2e81a9 Author: çç <jinkui....@alibaba-inc.com> Date: 2015-01-01T02:43:27Z change mapReduceTriplets to aggregateMessages of Pregel API commit d2519e235c53c8ee53c5f127cf680585f139eb0c Author: çç <jinkui....@alibaba-inc.com> Date: 2015-01-01T03:21:30Z change mapReduceTriplets to aggregateMessages of Pregel API ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org