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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to