[JBoss JIRA] (ISPN-6359) DistTopKeyTest.testPut random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6359:
----------------------------------
Summary: DistTopKeyTest.testPut random failures
Key: ISPN-6359
URL: https://issues.jboss.org/browse/ISPN-6359
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.2.0.Final
Reporter: Dan Berindei
Assignee: Pedro Ruivo
Fix For: 9.0.0.Alpha1
{noformat}
java.lang.AssertionError: Wrong number of contented keys expected [0] but found [1]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:265)
at org.infinispan.stats.BaseClusterTopKeyTest.assertTopKeyLockContented(BaseClusterTopKeyTest.java:282)
at org.infinispan.stats.BaseClusterTopKeyTest.assertLockInformation(BaseClusterTopKeyTest.java:293)
at org.infinispan.stats.BaseClusterTopKeyTest.testPut(BaseClusterTopKeyTest.java:75)
{noformat}
Example failure in CI: http://ci.infinispan.org/viewLog.html?buildId=37214&buildTypeId=bt9&tab=b...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6359) DistTopKeyTest.testPut random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6359?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6359:
-------------------------------
Status: Open (was: New)
> DistTopKeyTest.testPut random failures
> ---------------------------------------
>
> Key: ISPN-6359
> URL: https://issues.jboss.org/browse/ISPN-6359
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.0.Final
> Reporter: Dan Berindei
> Assignee: Pedro Ruivo
> Fix For: 9.0.0.Alpha1
>
>
> {noformat}
> java.lang.AssertionError: Wrong number of contented keys expected [0] but found [1]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:265)
> at org.infinispan.stats.BaseClusterTopKeyTest.assertTopKeyLockContented(BaseClusterTopKeyTest.java:282)
> at org.infinispan.stats.BaseClusterTopKeyTest.assertLockInformation(BaseClusterTopKeyTest.java:293)
> at org.infinispan.stats.BaseClusterTopKeyTest.testPut(BaseClusterTopKeyTest.java:75)
> {noformat}
> Example failure in CI: http://ci.infinispan.org/viewLog.html?buildId=37214&buildTypeId=bt9&tab=b...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6353) REST service fails to start during remote query server integration tests
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-6353?page=com.atlassian.jira.plugin.... ]
Martin Gencur commented on ISPN-6353:
-------------------------------------
No. I didn't create a JIRA. I think the problem is not with REST service but with the configuration template itself. It's enough to have <distributed-cache-configuration> element with <indexing> inside and the server throws this exception on startup.
> REST service fails to start during remote query server integration tests
> ------------------------------------------------------------------------
>
> Key: ISPN-6353
> URL: https://issues.jboss.org/browse/ISPN-6353
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 8.1.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 9.0.0.Final, 9.0.0.Alpha1, 8.1.3.Final, 8.2.1.Final
>
>
> Errors are logged, REST service fails to start due to classloading problems of InfinispanIndexManager. This happens because the rest cache is not defined in the configuration so it gets created automatically based on the default config which happens to be an indexed cache, using InfinispanIndexManager, which is not normally available to the REST service. The tests do not fail.
> {code}
> 8:58:51,182 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.datagrid-infinispan-endpoint.rest.rest-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.rest.rest-connector: DGENDPT10015: Could not create the web context for the REST Server
> at org.infinispan.server.endpoint.subsystem.RestService.start(RestService.java:103)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.hibernate.search.engine.service.classloading.spi.ClassLoadingException: Unable to load class [org.infinispan.query.indexmanager.InfinispanIndexManager]
> at org.hibernate.search.engine.service.classloading.impl.DefaultClassLoaderService.classForName(DefaultClassLoaderService.java:64)
> at org.hibernate.search.util.impl.ClassLoaderHelper.classForName(ClassLoaderHelper.java:320)
> at org.hibernate.search.engine.impl.DefaultIndexManagerFactory.createIndexManagerByName(DefaultIndexManagerFactory.java:54)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:247)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:513)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:482)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:91)
> at org.hibernate.search.spi.SearchIntegratorBuilder.initDocumentBuilders(SearchIntegratorBuilder.java:358)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildNewSearchFactory(SearchIntegratorBuilder.java:199)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildSearchIntegrator(SearchIntegratorBuilder.java:117)
> at org.infinispan.query.impl.LifecycleManager.getSearchFactory(LifecycleManager.java:300)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:112)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:247)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:236)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:849)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:635)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:585)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:451)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:470)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:461)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:94)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:85)
> at org.infinispan.security.actions.GetCacheAction.run(GetCacheAction.java:26)
> at org.infinispan.security.actions.GetCacheAction.run(GetCacheAction.java:14)
> at org.infinispan.security.Security.doPrivileged(Security.java:76)
> at org.infinispan.rest.SecurityActions.doPrivileged(SecurityActions.java:24)
> at org.infinispan.rest.SecurityActions.getCache(SecurityActions.java:31)
> at org.infinispan.rest.NettyRestServer$$anonfun$startCaches$1.apply(NettyRestServer.scala:77)
> at org.infinispan.rest.NettyRestServer$$anonfun$startCaches$1.apply(NettyRestServer.scala:77)
> at scala.collection.Iterator$class.foreach(Iterator.scala:742)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
> at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> at org.infinispan.rest.NettyRestServer$.startCaches(NettyRestServer.scala:77)
> at org.infinispan.rest.NettyRestServer$.apply(NettyRestServer.scala:52)
> at org.infinispan.rest.NettyRestServer$.apply(NettyRestServer.scala:46)
> at org.infinispan.rest.NettyRestServer.apply(NettyRestServer.scala)
> at org.infinispan.server.endpoint.subsystem.RestService.start(RestService.java:101)
> ... 5 more
> Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.infinispan.query.indexmanager.InfinispanIndexManager
> at org.hibernate.search.util.impl.AggregatedClassLoader.findClass(AggregatedClassLoader.java:75)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at org.hibernate.search.engine.service.classloading.impl.DefaultClassLoaderService.classForName(DefaultClassLoaderService.java:61)
> ... 42 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6358) Remove filterEntries method from AdvancedCache
by William Burns (JIRA)
William Burns created ISPN-6358:
-----------------------------------
Summary: Remove filterEntries method from AdvancedCache
Key: ISPN-6358
URL: https://issues.jboss.org/browse/ISPN-6358
Project: Infinispan
Issue Type: Task
Reporter: William Burns
Assignee: William Burns
Fix For: 9.0.0.Alpha1
The filterEntries method on AdvancedCache has been replaced by new DistributedStreams. The underlying implementation actually uses distributed streams now. There is no reason to keep the API around anymore.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6357) Deadlock during server start
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-6357:
---------------------------------------
Summary: Deadlock during server start
Key: ISPN-6357
URL: https://issues.jboss.org/browse/ISPN-6357
Project: Infinispan
Issue Type: Bug
Components: Core, Server
Affects Versions: 8.2.0.Final
Reporter: Gustavo Fernandes
This happens frequently when starting servers in parallel, the more servers, the easier to reproduce.
Attached the stack trace of server1 and server2 after hanging.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6356) SecurityException during HotRod server stop
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6356:
----------------------------------
Summary: SecurityException during HotRod server stop
Key: ISPN-6356
URL: https://issues.jboss.org/browse/ISPN-6356
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.2.0.Final
Reporter: Dan Berindei
The HotRod server should use a SecurityAction to remove the `CrashedMemberDetectorListener` listener (and probably to remove the `ReAddMyAddressListener` listener as well).
{noformat}
20:41:29,066 WARN [org.infinispan.server.endpoint] (MSC service thread 1-7) DGENDPT10010: Failed to stop connector HotRodServer: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'LISTEN' permission
at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:86)
at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:56)
at org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:727)
at org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.removeListener(AbstractDelegatingEmbeddedCacheManager.java:193)
at org.infinispan.server.hotrod.HotRodServer.stop(HotRodServer.scala:310)
at org.infinispan.server.endpoint.subsystem.ProtocolServerService.doStop(ProtocolServerService.java:199)
at org.infinispan.server.endpoint.subsystem.ProtocolServerService.stop(ProtocolServerService.java:189)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6355) Server stop doesn't respect cache dependencies
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6355:
----------------------------------
Summary: Server stop doesn't respect cache dependencies
Key: ISPN-6355
URL: https://issues.jboss.org/browse/ISPN-6355
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Dan Berindei
Individual caches are exposed as WildFly services, and the server stops them without considering cache dependencies defined in {{DefaultCacheManager}}. This means the infinispan-lucene-directory caches can stop before the indexed caches that use them:
{noformat}
2016-03-09 18:10:41,724 WARN [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000004: Failure during stop of service jboss.datagrid-infinispan.clustered.repltestcache: org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache 'LuceneIndexesMetadata' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:97)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:79)
at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85)
at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85)
at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335)
at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:411)
at org.infinispan.cache.impl.DecoratedCache.get(DecoratedCache.java:443)
at org.infinispan.lucene.impl.FileListOperations.getFileList(FileListOperations.java:162)
at org.infinispan.lucene.impl.FileListOperations.listFilenames(FileListOperations.java:105)
at org.infinispan.lucene.impl.DirectoryImplementor.list(DirectoryImplementor.java:60)
at org.infinispan.lucene.impl.DirectoryLucene.listAll(DirectoryLucene.java:128)
at org.apache.lucene.store.FilterDirectory.listAll(FilterDirectory.java:57)
at org.apache.lucene.index.IndexFileDeleter.refresh(IndexFileDeleter.java:426)
at org.apache.lucene.index.IndexWriter.rollbackInternalNoCommit(IndexWriter.java:2099)
at org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2041)
at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1083)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1125)
at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.closeIndexWriter(IndexWriterHolder.java:169)
at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.closeIndexWriter(AbstractWorkspaceImpl.java:108)
at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.shutDownNow(AbstractWorkspaceImpl.java:103)
at org.hibernate.search.backend.impl.lucene.LuceneBackendResources.shutdown(LuceneBackendResources.java:115)
at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueProcessor.close(LuceneBackendQueueProcessor.java:70)
at org.infinispan.query.indexmanager.LocalIndexingBackend.flushAndClose(LocalIndexingBackend.java:48)
at org.infinispan.query.indexmanager.ClusteredSwitchingBackend.closeBackend(ClusteredSwitchingBackend.java:227)
at org.infinispan.query.indexmanager.ClusteredSwitchingBackend.shutdown(ClusteredSwitchingBackend.java:216)
at org.infinispan.query.indexmanager.InfinispanBackendQueueProcessor.close(InfinispanBackendQueueProcessor.java:79)
at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.destroy(DirectoryBasedIndexManager.java:78)
at org.hibernate.search.indexes.impl.IndexManagerHolder.stop(IndexManagerHolder.java:197)
at org.hibernate.search.engine.impl.ImmutableSearchFactory.close(ImmutableSearchFactory.java:230)
at org.hibernate.search.engine.impl.MutableSearchFactory.close(MutableSearchFactory.java:137)
at org.infinispan.query.impl.LifecycleManager.cacheStopping(LifecycleManager.java:338)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:257)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:869)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:864)
at org.infinispan.server.infinispan.SecurityActions$6.run(SecurityActions.java:142)
at org.infinispan.server.infinispan.SecurityActions$6.run(SecurityActions.java:139)
at org.infinispan.security.Security.doPrivileged(Security.java:76)
at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:63)
at org.infinispan.server.infinispan.SecurityActions.stopCache(SecurityActions.java:146)
at org.jboss.as.clustering.infinispan.subsystem.CacheService.stop(CacheService.java:103)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years