<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well, I feel exposing M/R over Hot Rod - from a protocol standpoint - would require a platform-independent mechanism of defining a closure (keeping in mind we need to allow this from non-Java clients too).<div><br></div><div>So I reckon Javascript is the way to go, at least from a protocol standpoint. &nbsp;Now how we expose this in remote client APIs (Java, Python, etc) needs some thought, but at first glance it would seem as though we won't have a direct mapping to what we do on the embedded side of things. &nbsp;E.g.,&nbsp;<a href="http://www.mongodb.org/display/DOCS/MapReduce">http://www.mongodb.org/display/DOCS/MapReduce</a></div><div><br></div><div>- Manik</div><div><br><div><div>On 4 May 2011, at 04:50, Vladimir Blagojevic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Galder,<br><br>I believe the ability to invoke distributed executors and mapreduce over <br>hotrod would be very interesting. However, I quickly realized that <br>internals of both DistributedExecutorService and MapReduceTask rely <br>heavily on some Cache internals (RpcManager, CommandsFactory, <br>InterceptoChain) that are only available in non-remote caches. There is <br>no way to fake this by simply passing RemoteCache instead of Cache. <br>Either we rethink the internals of DistributedExecutorService and <br>MapReduceTask or we somehow bridge to these abstractions from a thin <br>client.<br><br>Any thoughts how we could potentially achieve hotrodization of dist. exec?<br><br>Regards,<br>Vladimir<br><br><br><br>_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev<br></div></blockquote></div><br><div>
<div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>