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 <[email protected]> wrote: > > http://docs.datatorrent.com/troubleshooting/#application-throwing-following-kryo-exception > > > On Tue, Jan 26, 2016 at 3:48 PM, Thomas Weise <[email protected]> > 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 <[email protected]> > > 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 > >> > > > > >
