dianwei Han created SPARK-17958:
-----------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to