Hi,

as a easy workaround you can enable Kryo serialization
http://spark.apache.org/docs/latest/configuration.html

Eugen


2014-04-14 18:21 GMT+02:00 Flavio Pompermaier <pomperma...@okkam.it>:

> Hi to all,
>
> in my application I read objects that are not serializable because I
> cannot modify the sources.
> So I tried to do a workaround creating a dummy class that extends the
> unmodifiable one but implements serializable.
> All attributes of the parent class are Lists of objects (some of them are
> still not serializable and some of them are, i.e. List<String>).
>
> Until I do map and filter on the RDD that objects are filled correclty (I
> checked that via Eclipse debug), but when I do collect all the attributes
> of my objects are empty. Could you help me please?
> I'm using spark-core-2.10 e version 0.9.0-incubating.
>
> Best,
> Flavio
>
>

Reply via email to