spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dianwei Han (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-17958) Why I ran into issue " accumulator, copyandreset must be zero error"
Date Sun, 16 Oct 2016 05:10:20 GMT
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message