-
1. Re: Mass indexing infinispan only on local node
rvansa Mar 9, 2015 4:26 AM (in response to rlachu)If you use clustered cache, the data will be loaded to nodes all over the cluster. That's why when you decide to run the indexing the MR task re-indexes whole cluster. What's the use case for re-indexing only single node?
Or, do you have the data in local caches with the same name and does the re-indexing start on all those (non-related) caches?
Btw., there have been found several problems with MassIndexer after 6.0.2, please check them and possilby upgrade to 7.1.x.
[ISPN-4621] MassIndexer does not work on replicated cache (with local index) - JBoss Issue Tracker
and others... https://issues.jboss.org/issues/?jql=text ~ "massindexer" and project %3D ispn
-
2. Re: Mass indexing infinispan only on local node
rlachu Mar 9, 2015 1:11 PM (in response to rvansa)Because we are hitting this issue https://issues.jboss.org/browse/ISPN-4617. We want to upgrade to 7.x but we saw too many api changes and our go live date for our project is <15 days and we don't think we have time to complete the upgrade.
In our use case, we are loading data into the cache (in local mode as we don't want to replicate this data) as part of the service startup and need to index it. so we don't need to reindex on all the nodes in the cluster as each node will do this independently
Thanks in advance
-
3. Re: Mass indexing infinispan only on local node
rvansa Mar 10, 2015 4:20 AM (in response to rlachu)Seems that the implementation was changed from MapReduce-based MassIndexer to DistributedExecutors-based one, so there's no trivial backport. You can try this trivial fix https://github.com/infinispan/infinispan/pull/2786/files , or you can try to backport https://github.com/infinispan/infinispan/pull/3132 . Infinispan 6.x won't have any further bugfix release.
-
4. Re: Mass indexing infinispan only on local node
rlachu Mar 12, 2015 10:10 AM (in response to rvansa)Thanks a lot. The trival fix https://github.com/infinispan/infinispan/pull/2786/files worked like a charm