java.io.InvalidClassException

org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -6941686529120477296, local class serialVersionUID = -1589734467697262504

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web569

  • via Unknown by Unknown author,
  • via Unknown by Rachana Srivastava,
  • Stack trace

    • java.io.InvalidClassException: org.apache.spark.scheduler.Task; local class incompatible: stream classdesc serialVersionUID = -6941686529120477296, local class serialVersionUID = -1589734467697262504 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:612) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1779) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373) at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76) at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:115) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:194) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Yosef MoattiYosef Moatti
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    AxeloAxelo
    Once,
    HandemelindoHandemelindo
    Once,
    Unknown UserUnknown User
    2 times, last one
    41 more bugmates