You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matei Zaharia (JIRA)" <ji...@apache.org> on 2014/09/22 00:44:33 UTC

[jira] [Comment Edited] (SPARK-3628) Don't apply accumulator updates multiple times for tasks in result stages

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

Matei Zaharia edited comment on SPARK-3628 at 9/21/14 10:43 PM:
----------------------------------------------------------------

BTW the problem is that this used to be guarded against in the TaskSetManager (see https://github.com/apache/spark/blob/branch-0.6/core/src/main/scala/spark/scheduler/cluster/TaskSetManager.scala#L254), and that went away at some point.


was (Author: matei):
BTW the problem is that this used to be guarded against in the TaskSetManager (see https://github.com/apache/spark/blob/branch-0.6/core/src/main/scala/spark/scheduler/cluster/TaskSetManager.scala#L253), and that went away at some point.

> Don't apply accumulator updates multiple times for tasks in result stages
> -------------------------------------------------------------------------
>
>                 Key: SPARK-3628
>                 URL: https://issues.apache.org/jira/browse/SPARK-3628
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Matei Zaharia
>            Priority: Blocker
>
> In previous versions of Spark, accumulator updates only got applied once for accumulators that are only used in actions (i.e. result stages), letting you use them to deterministically compute a result. Unfortunately, this got broken in some recent refactorings.
> This is related to https://issues.apache.org/jira/browse/SPARK-732, but that issue is about applying the same semantics to intermediate stages too, which is more work and may not be what we want for debugging.



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