You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Aniket Bhatnagar <an...@gmail.com> on 2014/07/28 12:33:34 UTC

NotSerializableException exception while using TypeTag in Scala 2.10

I am trying to serialize objects contained in RDDs using runtime relfection
via TypeTag. However, the Spark job keeps
failing java.io.NotSerializableException on an instance of TypeCreator
(auto generated by compiler to enable TypeTags). Is there any workaround
for this without switching to scala 2.11?

Re: NotSerializableException exception while using TypeTag in Scala 2.10

Posted by Yanbo Liang <yb...@gmail.com>.
I also hit this bug, have you resolved this issue? Or could you give some
suggestions?

2014-07-28 18:33 GMT+08:00 Aniket Bhatnagar <an...@gmail.com>:

> I am trying to serialize objects contained in RDDs using runtime
> relfection via TypeTag. However, the Spark job keeps
> failing java.io.NotSerializableException on an instance of TypeCreator
> (auto generated by compiler to enable TypeTags). Is there any workaround
> for this without switching to scala 2.11?
>