Query on Merge Message (Graph: pregel operator)

2014-06-19 Thread Ghousia Taj
, Ghousia. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Query-on-Merge-Message-Graph-pregel-operator-tp7909.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Query on Merge Message (Graph: pregel operator)

2014-06-19 Thread Ankur Dave
Many merge operations can be broken up to work incrementally. For example, if the merge operation is to sum *n* rank updates, then you can set mergeMsg = (a, b) = a + b and this function will be applied to all *n* updates in arbitrary order to yield a final sum. Addition, multiplication, min, max,