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