[infinispan-issues] [JBoss JIRA] (ISPN-2181) Allow to inject the current cache into Mapper/Reducer/Callable objects

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Tue Oct 16 10:41:01 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726892#comment-12726892 ] 

Vladimir Blagojevic commented on ISPN-2181:
-------------------------------------------

I would want to keep things as they are. It does not make sense to inject input cache to Reducer as the input cache by design of Map/Reduce is only used in mapping phase. Having input cache in Reducer is terribly confusing. Nicolas, the originator of this issue agreed that only Mapper should have the ability to receive the input cache. I am going to update the name of this JIRA 
                
> Allow to inject the current cache into Mapper/Reducer/Callable objects
> ----------------------------------------------------------------------
>
>                 Key: ISPN-2181
>                 URL: https://issues.jboss.org/browse/ISPN-2181
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Distributed Execution and Map/Reduce
>    Affects Versions: 5.1.5.FINAL, 5.2.0.ALPHA2
>            Reporter: Nicolas Filotto
>            Assignee: Vladimir Blagojevic
>             Fix For: 5.2.0.Alpha4, 5.2.0.Final
>
>
> Thanks to ISPN-1636, it is now possible to inject the cache into Mapper/Reducer/Callable objects however the cache injected is the default cache not the cache for which the MapReduceTask/DistributedExecutorService has been created which is quite error prone since we don't expect to get the default cache but the current cache.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list