Re: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Simone Robutti
> > > Best Regards, > > > > Julian > > > > *Von:* Simone Robutti [mailto:simone.robu...@radicalbit.io] > *Gesendet:* Montag, 5. September 2016 15:42 > > *An:* user@flink.apache.org > *Betreff:* Re: Storing JPMML-Model Object as a Variable Closure? >

AW: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Bauss, Julian
...@radicalbit.io] Gesendet: Montag, 5. September 2016 15:42 An: user@flink.apache.org Betreff: Re: Storing JPMML-Model Object as a Variable Closure? Yes, sorry but it's private and I just discovered we don't want to release it as public yet. This piece of code could help you thou

Re: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Simone Robutti
obu...@radicalbit.io] > *Gesendet:* Montag, 5. September 2016 14:59 > > *An:* user@flink.apache.org > *Betreff:* Re: Storing JPMML-Model Object as a Variable Closure? > > > > I think you could make use of this small component I've developed: > https://gitlab.com/chobeat

AW: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Bauss, Julian
Hi Simone, that sounds promising! Unfortunately your link leads to a 404 page. Best Regards, Julian Von: Simone Robutti [mailto:simone.robu...@radicalbit.io] Gesendet: Montag, 5. September 2016 14:59 An: user@flink.apache.org Betreff: Re: Storing JPMML-Model Object as a Variable Closure? I

Re: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Simone Robutti
eams offer similiar > functionality? > > > > Best Regards, > > > > Julian > > > > *Von:* Stephan Ewen [mailto:se...@apache.org] > *Gesendet:* Freitag, 2. September 2016 15:27 > *An:* user@flink.apache.org > *Betreff:* Re: Storing JPMML-Model Object as

AW: Storing JPMML-Model Object as a Variable Closure?

2016-09-05 Thread Bauss, Julian
...@apache.org] Gesendet: Freitag, 2. September 2016 15:27 An: user@flink.apache.org Betreff: Re: Storing JPMML-Model Object as a Variable Closure? How about using a source and broadcast variable? You could write the model to the storage (DFS), the read it with a source and use a broadcast variable to

Re: Storing JPMML-Model Object as a Variable Closure?

2016-09-02 Thread Stephan Ewen
How about using a source and broadcast variable? You could write the model to the storage (DFS), the read it with a source and use a broadcast variable to send it to all tasks. A single record can be very large, so it should work even if your model is quite big. Does that sound feasible? In futu

Storing JPMML-Model Object as a Variable Closure?

2016-09-02 Thread Bauss, Julian
Hello Everybody, I’m currently refactoring some code and am looking for a better alternative to handle JPMML-Models in data streams. At the moment the flink job I’m working on references a model-object as a Singleton which I want to change because static references tend to cause problems in dis