[infinispan-dev] MapReduce on REPL and Mapper behaviour

Mircea Markus mircea.markus at jboss.com
Fri Aug 10 07:36:55 EDT 2012


On 10 Aug 2012, at 11:04, Thomas Fromm wrote:

> Hi,
> 
> I've just started to use MapReduce so there I have some questions:
> 
> 1) To avoid specific handling I'd like to have the ability to execute 
> MapReduceTasks also on REPL/LOCAL caches. Feature request or to 
> expensive to implement?

I think this would be an easy to implement feature and would be nice to have it. 
> 
> 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?
> What do you think?
> 
> One more: Will the mapper be executed on _every_ entry, regardless if 
> its currently in the cache or just hold in store? I can test it but 
> maybe you can give me quick answer on this.
AFAIK he CacheStore is not iterated during the execution, Vladimir can you please confirm. 
> 
> Thanks in advance,
> tf
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

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


More information about the infinispan-dev mailing list