Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Ales Justin
> Would the thread context classloader be the right thing to use? It depends how Infinispan's M/R code handles setting of TCCL. Specially in remote invocations. But I would expect it to work. Not the best, but good enough. :-) > Or, perhaps it can use ScriptEngine? What's ScriptEngine? -Ales

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Ray Tsang
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 wrote: > The classloader used in Groovy classloader const

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Ales Justin
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 wrote: > Sounds

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Sanne Grinovero
Sounds like an excellent idea! Il giorno 26/gen/2013 20:33, "Ray Tsang" 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: >

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Ray Tsang
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,

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-26 Thread Vladimir Blagojevic
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 list infinispan-dev@lists.jboss

Re: [infinispan-dev] graceful restart to corrupt CacheStore data

2013-01-26 Thread Sanne Grinovero
Mystery resolved : https://issues.jboss.org/browse/ISPN-2763 :-) On 25 January 2013 11:54, Tristan Tarrant wrote: > On 01/25/2013 12:22 PM, Galder ZamarreƱo wrote: >> Not at first glance, but if he can replicate it, he should submit a JIRA. >> >> If he can attach a test case to replicate the iss