Martin Gencur created ISPN-8134:
-----------------------------------
Summary: Getting TimeoutException during initialization of clustered counter
Key: ISPN-8134
URL:
https://issues.jboss.org/browse/ISPN-8134
Project: Infinispan
Issue Type: Bug
Components: Clustered Counter
Affects Versions: 9.1.0.Final
Reporter: Martin Gencur
Assignee: Pedro Ruivo
In multi-threaded environment (8 nodes with 10 threads each) I'm getting the following
error when retrieving the clustered counter from embedded cache manager:
{code}
04:40:27,842 ERROR [org.infinispan.counter.impl.manager.EmbeddedCounterManager]
(Stressor-0) ISPN028013: Exception while waiting for counter manager caches.
java.util.concurrent.TimeoutException: null
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)
~[?:1.8.0_131]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
~[?:1.8.0_131]
at
org.infinispan.counter.impl.manager.EmbeddedCounterManager.extractCacheHolder(EmbeddedCounterManager.java:52)
~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at
org.infinispan.counter.impl.manager.EmbeddedCounterManager.createCounter(EmbeddedCounterManager.java:119)
~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
[?:1.8.0_131]
at
org.infinispan.counter.impl.manager.EmbeddedCounterManager.getStrongCounter(EmbeddedCounterManager.java:88)
[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at
org.radargun.service.Infinispan91StrongCounterOperations.getStrongCounter(Infinispan91StrongCounterOperations.java:22)
[plugin-infinispan91-3.0.0-SNAPSHOT.jar:?]
at
org.radargun.stages.StrongCounterTestStage$StrongCounterLogic.init(StrongCounterTestStage.java:74)
[radargun-counter-3.0.0-SNAPSHOT.jar:?]
at org.radargun.stages.test.Stressor.run(Stressor.java:65)
[radargun-core-3.0.0-SNAPSHOT.jar:?]
04:40:27,863 ERROR [org.radargun.stages.test.Stressor] (Stressor-0) Unexpected error in
stressor!
org.infinispan.counter.exception.CounterException: ISPN028015: Unable to fetch counter
manager caches.
at
org.infinispan.counter.impl.manager.EmbeddedCounterManager.createCounter(EmbeddedCounterManager.java:121)
~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
~[?:1.8.0_131]
at
org.infinispan.counter.impl.manager.EmbeddedCounterManager.getStrongCounter(EmbeddedCounterManager.java:88)
~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at
org.radargun.service.Infinispan91StrongCounterOperations.getStrongCounter(Infinispan91StrongCounterOperations.java:22)
~[plugin-infinispan91-3.0.0-SNAPSHOT.jar:?]
at
org.radargun.stages.StrongCounterTestStage$StrongCounterLogic.init(StrongCounterTestStage.java:74)
~[radargun-counter-3.0.0-SNAPSHOT.jar:?]
at org.radargun.stages.test.Stressor.run(Stressor.java:65)
[radargun-core-3.0.0-SNAPSHOT.jar:?]
Exception in thread "Stressor-0" java.lang.NullPointerException
at org.radargun.stages.test.TestStage.setTerminated(TestStage.java:341)
at org.radargun.stages.test.Stressor.run(Stressor.java:72)
{code}
The whole stacktrace can be seen here:
https://jdg-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/PERF-LIB/job/jdg...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)