Pregel messages serialized in local machine?

2014-09-25 Thread Cheuk Lam
This is a question on using the Pregel function in GraphX.  Does a message
get serialized and then de-serialized in the scenario where both the source
and the destination vertices are in the same compute node/machine?

Thank you!



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Pregel-messages-serialized-in-local-machine-tp15140.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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



Re: Pregel messages serialized in local machine?

2014-09-25 Thread Ankur Dave
At 2014-09-25 06:52:46 -0700, Cheuk Lam chl...@hotmail.com wrote:
 This is a question on using the Pregel function in GraphX.  Does a message
 get serialized and then de-serialized in the scenario where both the source
 and the destination vertices are in the same compute node/machine?

Yes, message passing currently uses partitionBy, which shuffles all messages, 
including ones to the same machine, by serializing them and writing them to 
disk.

Ankur

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