[ 
https://issues.apache.org/jira/browse/SPARK-22681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcelo Vanzin resolved SPARK-22681.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 19877
[https://github.com/apache/spark/pull/19877]

> Accumulator should only be updated once for each task in result stage
> ---------------------------------------------------------------------
>
>                 Key: SPARK-22681
>                 URL: https://issues.apache.org/jira/browse/SPARK-22681
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.2.0
>            Reporter: Carson Wang
>             Fix For: 2.3.0
>
>
> As the doc says "For accumulator updates performed inside actions only, Spark 
> guarantees that each task’s update to the accumulator will only be applied 
> once, i.e. restarted tasks will not update the value."
> But currently the code doesn't guarantee this. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to