[infinispan-dev] MapReduce on REPL and Mapper behaviour

Mircea Markus mircea.markus at jboss.com
Fri Aug 10 08:20:19 EDT 2012


On 10 Aug 2012, at 13:09, Thomas Fromm wrote:

> On 10.08.2012 13:36, Mircea Markus wrote:
>> 
>>> 
>>> 2) In case I do not have an Reduce job, I'd like to avoid provide 
>>> Reducer. Creating feature request that reducedWith(...) is optional?
>>> 
>> As you don't need a reducer, have you considered using the DistributedExecutorService with a DistributedCallable for that?
> 
> I wanted to execute an operation only once on every key, independend how many nodes are owner of the entry. 
> The DistCallable approach was my first solution, where I checked at every node for every entry, if the current node is owner, before I modified it.
> So using the Mapper was a much simpler solution.

I see.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20120810/c3eed2a1/attachment.html 


More information about the infinispan-dev mailing list