You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Cheuk Lam <ch...@hotmail.com> on 2014/09/25 15:52:46 UTC

Pregel messages serialized in local machine?

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-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Pregel messages serialized in local machine?

Posted by Ankur Dave <an...@gmail.com>.
At 2014-09-25 06:52:46 -0700, Cheuk Lam <ch...@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-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org