apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Gupta <gauravgopi...@apache.org>
Subject Re: kryo no-arg constructor exception
Date Wed, 27 Jan 2016 15:33:24 GMT
Sandesh,

What do you mean by "can we have annotation to use java serializer"

Gaurav

On Wed, Jan 27, 2016 at 7:12 AM, Sandesh Hegde <sandesh@datatorrent.com>
wrote:

> Thanks Guys, I am using Java serializer.
>
> Can we have annotation to use the Java serializer?
>
> On Tue, Jan 26, 2016 at 3:53 PM Thomas Weise <thomas@datatorrent.com>
> wrote:
>
> >
> >
> http://docs.datatorrent.com/troubleshooting/#application-throwing-following-kryo-exception
> >
> >
> > On Tue, Jan 26, 2016 at 3:48 PM, Thomas Weise <thomas@datatorrent.com>
> > wrote:
> >
> > > If the class in question is Java serializable, then using the
> > > JavaSerializer for the field or class may work.
> > >
> > >
> > > On Tue, Jan 26, 2016 at 3:27 PM, Sandesh Hegde <
> sandesh@datatorrent.com>
> > > wrote:
> > >
> > >> Hello Team,
> > >>
> > >> I am using class A, which doesn't have a default constructor, in an
> > >> operator.
> > >> Also, class A depends on few other classes which doesn't have a
> default
> > >> constructor.
> > >>
> > >> While running the app, I get the Kryo no-arg constructor exception.
> > >>
> > >> I looked at the following link,
> > >>
> > >>
> >
> http://docs.datatorrent.com/troubleshooting/#application-throwing-following-kryo-exception
> > >>
> > >> Is there a simple way to handle this scenario?
> > >>
> > >> Class A
> > >> *
> > >>
> > >>
> >
> https://github.com/yahoo/streaming-benchmarks/blob/master/streaming-benchmark-common/src/main/java/benchmark/common/advertising/CampaignProcessorCommon.java
> > >>
> > >> Thanks
> > >> Sandesh
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message