You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Daniel Haviv <da...@gmail.com> on 2014/11/24 22:12:57 UTC

Unable to use Kryo

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

Re: Unable to use Kryo

Posted by Daniel Haviv <da...@gmail.com>.
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 <da...@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
>