You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/05 01:09:25 UTC
[jira] [Commented] (SPARK-14390) Make initialization step in Pregel
optional.
[ https://issues.apache.org/jira/browse/SPARK-14390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225235#comment-15225235 ]
Apache Spark commented on SPARK-14390:
--------------------------------------
User 'adeandrade' has created a pull request for this issue:
https://github.com/apache/spark/pull/12159
> Make initialization step in Pregel optional.
> --------------------------------------------
>
> Key: SPARK-14390
> URL: https://issues.apache.org/jira/browse/SPARK-14390
> Project: Spark
> Issue Type: Improvement
> Components: GraphX
> Affects Versions: 2.1.0
> Reporter: Anderson de Andrade
> Priority: Minor
>
> Suppose a sendMsg function depends on the state of a edge's vertices to send messages, and those Pregel messages update such state. In this scenario, initialMsg will initially enforce the same message on all vertices, effectively removing a custom initialization one may have per vertex.
> To deal with this situation, we must define a dummy initMsg (i.e. None), and all Pregel functions must be modified to handle this type of message. A simpler and less cumbersome solution is to make initMsg and the initialization step in Pregel optional.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org