You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:33:33 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-14390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-14390.
----------------------------------
    Resolution: Incomplete

> 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.0.0
>            Reporter: Anderson de Andrade
>            Priority: Minor
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org