You guys should collaborate on this. :)
On 28 Jan 2013, at 13:02, Tristan Tarrant <ttarrant(a)redhat.com> 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
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Platform Architect, JBoss Data Grid
http://red.ht/data-grid