This should be related: https://github.com/JodaOrg/joda-time/issues/307
Do you have more of the stack trace ? Cheers On Thu, May 12, 2016 at 12:39 PM, Younes Naguib < younes.nag...@tritondigital.com> wrote: > Thanks, > > I used that. > > Now I seem to have the following problem: > > java.lang.NullPointerException > > at > org.joda.time.tz.CachedDateTimeZone.getInfo(CachedDateTimeZone.java:143) > > at > org.joda.time.tz.CachedDateTimeZone.getOffset(CachedDateTimeZone.java:103) > > at > org.joda.time.DateTimeZone.convertUTCToLocal(DateTimeZone.java:925) > > > > > > Any ideas? > > > > Thanks > > > > > > *From:* Ted Yu [mailto:yuzhih...@gmail.com] > *Sent:* May-11-16 5:32 PM > *To:* Younes Naguib > *Cc:* user@spark.apache.org > *Subject:* Re: kryo > > > > Have you seen this thread ? > > > > > http://search-hadoop.com/m/q3RTtpO0qI3cp06/JodaDateTimeSerializer+spark&subj=Re+NPE+when+using+Joda+DateTime > > > > On Wed, May 11, 2016 at 2:18 PM, Younes Naguib < > younes.nag...@tritondigital.com> wrote: > > Hi all, > > I'm trying to get to use spark.serializer. > I set it in the spark-default.conf, but I statred getting issues with > datetimes. > > As I understand, I need to disable it. > Anyways to keep using kryo? > > It's seems I can use JodaDateTimeSerializer for datetimes, just not sure > how to set it, and register it in the spark-default conf. > > Thanks, > > *Younes Naguib* <younes.nag...@streamtheworld.com> > > >