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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by laneb
, 1 year ago
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
via Stack Overflow by geoHeil
, 1 year ago
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
via Google Groups by Naresh Dulam, 6 months ago
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
via spark-issues by Matt Butler (JIRA), 1 year ago
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
via spark-issues by Matt Butler (JIRA), 1 year ago
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
via spark-issues by Matt Butler (JIRA), 1 year ago
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.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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.