[infinispan-issues] [JBoss JIRA] (ISPN-1886) DistributedExecutorService not working with non distributed cache
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Tue Sep 11 06:38:32 EDT 2012
[ https://issues.jboss.org/browse/ISPN-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Blagojevic updated ISPN-1886:
--------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/981 (was: https://github.com/infinispan/infinispan/pull/981)
Component/s: Distributed Execution and Map/Reduce
> DistributedExecutorService not working with non distributed cache
> -----------------------------------------------------------------
>
> Key: ISPN-1886
> URL: https://issues.jboss.org/browse/ISPN-1886
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.1.1.FINAL
> Reporter: Galder Zamarreño
> Assignee: Vladimir Blagojevic
> Fix For: 5.1.2.FINAL
>
>
> 1) using DistributedExecutorService::submit with non <distributable-cache> results in NPE
> protected <K> Map<Address, List<K>> mapKeysToNodes(K... input) {
> DistributionManager dm = cache.getDistributionManager();
> Map<Address, List<K>> addressToKey = new HashMap<Address, List<K>>(input.length * 2);
> for (K key : input) {
> Address ownerOfKey = dm.getPrimaryLocation(key); // <------- dm is null
--
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