spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Lists <lists.a...@gmail.com>
Subject Registering classes with KryoSerializer
Date Mon, 30 Mar 2015 20:59:19 GMT
I am trying to register classes with KryoSerializer. I get the following
error message:

How do I find out what class is being referred to by: *OpenHashMap$mcI$sp ?*

*com.esotericsoftware.kryo.KryoException:
java.lang.IllegalArgumentException: Class is not registered:
com.comp.common.base.OpenHashMap$mcI$sp*

*Note: To register this class use: *
*kryo.register(com.dtex.common.base.OpenHashMap$mcI$sp.class);*

I have registered other classes with it by using:

sparkConf.registerKryoClasses(Array(

  classOf[MyClass]

))


Thanks,

arun

Mime
View raw message