You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anderson de Andrade (JIRA)" <ji...@apache.org> on 2016/04/05 01:05:25 UTC

[jira] [Created] (SPARK-14390) Make initialization step in Pregel optional.

Anderson de Andrade created SPARK-14390:
-------------------------------------------

             Summary: 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