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/06/02 22:08:59 UTC

[jira] [Created] (SPARK-15739) Expose aggregateMessagesWithActiveSet to users.

Anderson de Andrade created SPARK-15739:
-------------------------------------------

             Summary: Expose aggregateMessagesWithActiveSet to users.
                 Key: SPARK-15739
                 URL: https://issues.apache.org/jira/browse/SPARK-15739
             Project: Spark
          Issue Type: Improvement
          Components: GraphX
    Affects Versions: 1.6.1
            Reporter: Anderson de Andrade
            Priority: Minor


The current version of Pregel has some flaws:
* Each iteration expands the lineage, making stages slower as it progresses.
* It uses the deprecated {{mapReduceTriplets}} method, which makes the interface of the sendMsg function different from {{aggregateMessages}}, bringing inconsistencies to the API.
* It enforces an initialization tage, preventing users from having a custom state at the beginning of the process.

It would be fairly trivial to create custom versions of Pregel that would work for many other use cases if {{aggregateMessagesWithActiveSet}} were not a private method.



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