[ 
https://issues.apache.org/jira/browse/SPARK-14390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235533#comment-15235533
 ] 

Apache Spark commented on SPARK-14390:
--------------------------------------

User 'adeandrade' has created a pull request for this issue:
https://github.com/apache/spark/pull/12302

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to