[infinispan-dev] Map/Reduce Tasks and classpath

Ray Tsang saturnism at gmail.com
Sat Jan 26 16:20:37 EST 2013


Ales,

Since it's a quick proof of concept - I'd love to see it getting improved.
Would the thread context classloader be the right thing to use?  Or,
perhaps it can use ScriptEngine?

Thanks!


On Sat, Jan 26, 2013 at 1:05 PM, Ales Justin <ales.justin at gmail.com> wrote:

> The classloader used in Groovy classloader constructor is imo wrong.
> Unless you would bundle this infinispan-groovy with your app.
> But since most of Infinispan comes with AS already, I would also expect
> this to be a module, hence no-go.
>
> On Jan 26, 2013, at 21:58, Sanne Grinovero <sanne at infinispan.org> wrote:
>
> Sounds like an excellent idea!
>  Il giorno 26/gen/2013 20:33, "Ray Tsang" <saturnism at gmail.com> ha
> scritto:
>
>> I just wrote something quick that uses groovy scripts.  my hope is to be
>> able to execute any arbitrary scripted mapper/reducer w/o needing to, say,
>> redeploy/restart the node/server.
>>
>> The code is here:
>> https://github.com/saturnism/infinispan/tree/groovy-mr/groovy
>>
>>
>>
>> On Sat, Jan 26, 2013 at 12:20 PM, Vladimir Blagojevic <
>> vblagoje at redhat.com> wrote:
>>
>>>  Yes it does!
>>> On 13-01-25 4:31 PM, Ray Tsang wrote:
>>>
>>> For Map/Reduce tasks - does the Task, Mapper, Reducer implementations
>>> classes need to be present in the classpath of all the nodes?
>>>
>>>  Thanks,
>>>
>>>
>>> _______________________________________________
>>> infinispan-dev mailing listinfinispan-dev at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>>
>>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130126/b490c16f/attachment.html 


More information about the infinispan-dev mailing list