The problem was I didn't use the correct class name, it should be org.apache.spark.*serializer*.KryoSerializer
On Mon, Nov 24, 2014 at 11:12 PM, Daniel Haviv <danielru...@gmail.com> wrote: > Hi, > I want to test Kryo serialization but when starting spark-shell I'm > hitting the following error: > java.lang.ClassNotFoundException: org.apache.spark.KryoSerializer > > the kryo-2.21.jar is on the classpath so I'm not sure why it's not picking > it up. > > Thanks for your help, > Daniel >