[infinispan-issues] [JBoss JIRA] (ISPN-2238) DistributedExecutable setEnvironment for local executed tasks is always empty
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Tue Sep 18 05:06:35 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719364#comment-12719364 ]
Vladimir Blagojevic commented on ISPN-2238:
-------------------------------------------
Thomas, I think everything works as expected. One needs to submit keys parameter to submitEverywhere method in order to have them (some of them) passed to setEnvironment. In your test case you do not pass any keys, hence none of them are passed. If you want to convince yourself, insert bunch of keys in cache and invoke submitEverywhere with a subset of those keys in cache.
> DistributedExecutable setEnvironment for local executed tasks is always empty
> -----------------------------------------------------------------------------
>
> Key: ISPN-2238
> URL: https://issues.jboss.org/browse/ISPN-2238
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.1.6.FINAL
> Reporter: Thomas Fromm
> Assignee: Vladimir Blagojevic
> Fix For: 5.2.0.Final
>
> Attachments: DistributedExecutorSingleNodeTest.java
>
>
> When executing a DistributedCallable everywhere, the local executed one gets always empty Set of keys at setEnvironment.
> There's a keyMapping missed, which fills the set at least with the keys where the local node is owner.
> Testcase attached.
--
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