java.io.IOException

java.lang.ClassCastException: cannot assign instance ola.collection.immutable.HashMap$SerializationProxy to field org.apache.sparcutor.TaskMetrics._accumulatorUpdates of type scala.collection.immutable.Mainstance of org.apache.spark.executor.TaskMetrics

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web17636

  • java.lang.ClassCastException: cannot assign instance ola.collection.immutable.HashMap$SerializationProxy to field org.apache.sparcutor.TaskMetrics._accumulatorUpdates of type scala.collection.immutable.Mainstance of org.apache.spark.executor.TaskMetrics
  • java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.HashMap$SerializationProxy to field org.apache.spark.executor.TaskMetrics._accumulatorUpdates of type scala.collection.immutable.Map in instance of org.apache.spark.executor.TaskMetrics
  • java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.HashMap$SerializationProxy to field org.apache.spark.executor.TaskMetrics._accumulatorUpdates of type scala.collection.immutable.Map in instance of org.apache.spark.executor.TaskMetrics
  • Stack trace

    • java.io.IOException: java.lang.ClassCastException: cannot assign instance ola.collection.immutable.HashMap$SerializationProxy to field org.apache.sparcutor.TaskMetrics._accumulatorUpdates of type scala.collection.immutable.Mainstance of org.apache.spark.executor.TaskMetrics at org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1163) at org.apache.spark.executor.TaskMetrics.readObject(TaskMetrics.sca9) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodsorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.jav7)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago