I'm starting a new discussion thread for the bigpetstore-flink integration ...
I took a closer look into the code you've posted. It seems to me that you are generating a lot of data locally on the client, before you actually submit a job to Flink. (Both "customers" and "stores" are generated locally) Is that only some "seed" data? I would actually try to generate as much data as possible in the cluster, making the generator very scalable. I don't think that you need to register a Kryo serializer for the Product and Transaction type. I was able to run the code without the serializer registration. ---------- Forwarded message ---------- From: jay vyas <[hidden email]> Date: Wed, Sep 2, 2015 at 2:56 PM Subject: Re: Hardware requirements and learning resources To: [hidden email] We're also working on a bigpetstore implementation of flink which will help onboard spark/mapreduce folks. I have prototypical code here that runs a simple job in memory, contributions welcome, right now there is a serialization error https://github.com/bigpetstore/bigpetstore-flink . On Wed, Sep 2, 2015 at 8:50 AM, Robert Metzger <[hidden email]> wrote:
jay vyas |
Hey, thanks! Those are just seeds, the files aren't large. The scale out data is the transactions. The seed data needs to be the same, shipped to ALL nodes, and then the nodes generate transactions. On Wed, Sep 2, 2015 at 9:21 AM, Robert Metzger <[hidden email]> wrote:
jay vyas |
Okay, I see. As I said before, I was not able to reproduce the serialization issue you've reported. Can you maybe post the exception you are seeing? On Wed, Sep 2, 2015 at 3:32 PM, jay vyas <[hidden email]> wrote:
|
In reply to this post by rmetzger0
If a lot of the data is generated locally, this may face the same issue as Greg did with oversized payloads (dropped by Akka). On Wed, Sep 2, 2015 at 3:21 PM, Robert Metzger <[hidden email]> wrote:
|
hmmm interesting looks to be working magically now... :) I must have wrote some code late at night that magically fixed it and forgot. The original errors I was getting were kayo related. The objects aren't being serialized on write to anything useful, but thats I'm sure an easy fix. Onward and upward ! On Wed, Sep 2, 2015 at 9:31 AM, Stephan Ewen <[hidden email]> wrote:
jay vyas |
In reply to this post by rmetzger0
hmmm interesting looks to be working magically now... :) I must have wrote some code late at night that magically fixed it and forgot. The original errors I was getting were kryo related.
The objects aren't being serialized on write to anything useful, but thats I'm sure an easy fix. Onward and upward ! On Wed, Sep 2, 2015 at 9:33 AM, Robert Metzger <[hidden email]> wrote:
jay vyas |
Free forum by Nabble | Edit this page |