[
https://issues.jboss.org/browse/ISPN-2238?page=com.atlassian.jira.plugin....
]
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