You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/10/16 09:50:20 UTC

[jira] [Resolved] (SPARK-17958) Why I ran into issue " accumulator, copyandreset must be zero error"

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

Sean Owen resolved SPARK-17958.
-------------------------------
    Resolution: Invalid

Pleas read https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark

Questions go to user@, not JIRA. You would also never set Blocker.

> Why I ran into issue " accumulator, copyandreset must be zero error"
> --------------------------------------------------------------------
>
>                 Key: SPARK-17958
>                 URL: https://issues.apache.org/jira/browse/SPARK-17958
>             Project: Spark
>          Issue Type: Question
>          Components: Java API
>    Affects Versions: 2.0.1
>         Environment: linux. 
>            Reporter: dianwei Han
>            Priority: Blocker
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I used to run spark code under spark 1.5. No problem at all. right now, I ran code on spark 2.0. see error 
> "Exception in thread "main" java.lang.AssertionError: assertion failed: copyAndReset must return a zero value copy
>         at scala.Predef$.assert(Predef.scala:170)
>         at org.apache.spark.util.AccumulatorV2.writeReplace(AccumulatorV2.scala:157)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Please help or give suggestion on how to fix the issue?
> Really appreciate it,
> Dianwei



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