You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/02 22:15:59 UTC

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

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

Apache Spark commented on SPARK-15739:
--------------------------------------

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

> 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 stage that prevents 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