Hi,

I seem to be getting class cast exception in Kryo Serialization. Following
is the error.  Child1 class is a map in parent class. Child1 has a hashSet
testObjects of the type  Object1. I get an error when it tries to
deserialize Object1. Any idea as to why this is happening?

com.esotericsoftware.kryo.KryoException: java.lang.ClassCastException:
Object1 cannot be cast to java.lang.String
Serialization trace:
testObjects (Child1)
map (parent)




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/ClassCastException-in-Kryo-Serialization-tp25575.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to