apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Weise <tho...@datatorrent.com>
Subject Re: kryo no-arg constructor exception
Date Tue, 26 Jan 2016 23:53:21 GMT
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