Re: Init/Setup worker

2016-05-10 Thread Natu Lauchande
Hi, Not sure if this might be helpful to you : https://github.com/ondra-m/ruby-spark . Regards, Natu On Tue, May 10, 2016 at 4:37 PM, Lionel PERRIN wrote: > Hello, > > > > I’m looking for a solution to use jruby on top of spark. The only tricky > point is that I

Init/Setup worker

2016-05-10 Thread Lionel PERRIN
Hello, I’m looking for a solution to use jruby on top of spark. The only tricky point is that I need that every worker thread has a ruby interpreter initialized. Basically, I need to register a function to be called when each worker thread is created : a thread local variable must be set for

Init/Setup worker thread

2016-04-12 Thread Perrin, Lionel
Hello, I'm looking for a solution to use jruby on top of spark. It looks that the work required is quite small. The only tricky point is that I need to make sure that every worker thread has a ruby interpreter initialized. Basically, I need to register a function to be called when each worker