Tristan, After the quick groovy poc, I discovered the design/plan doc for m/r over hotrod that mentioned stored procedure approach.
Where will the script be stored and how will the user store it? (Perhaps stored also in a cache?) I just implemented something w/ jsr223 that might be generic enough for hooking into the script store. :) On Jan 28, 2013, at 5:23, Manik Surtani <[email protected]> wrote: > You guys should collaborate on this. :) > > On 28 Jan 2013, at 13:02, Tristan Tarrant <[email protected]> wrote: > >> On 01/26/2013 09:32 PM, Ray Tsang wrote: >>> 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 >> Ray, to avoid duplicate effort, I'm working on implementing "stored >> scripts" for Infinispan based on ScriptEngine. >> Scripts would be stored (compiled if possible) in a dedicated replicated >> cache. The scripts can then be referred to by name in dist-exec and >> map-reduce invocations. It will then be possible to invoke these scripts >> both locally and remotely (over HotRod and REST). >> >> Some Jiras: >> >> https://issues.jboss.org/browse/ISPN-1094 >> https://issues.jboss.org/browse/ISPN-1192 >> >> Tristan >> _______________________________________________ >> infinispan-dev mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/infinispan-dev > > -- > Manik Surtani > [email protected] > twitter.com/maniksurtani > > Platform Architect, JBoss Data Grid > http://red.ht/data-grid > > _______________________________________________ > infinispan-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
