[infinispan-issues] [JBoss JIRA] (ISPN-8134) Getting TimeoutException during initialization of clustered counter

Dan Berindei (Jira) issues at jboss.org
Sun Aug 25 12:39:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-8134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-8134.
--------------------------------
    Fix Version/s: 9.2.1.Final
       Resolution: Out of Date


Very likely fixed with ISPN-8860 Lazy start counter's caches


> 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
>            Priority: Major
>             Fix For: 9.2.1.Final
>
>
> 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-perf-lib-clustered-counters/4/console-edg-perf12-878a1cf3-1732-4a9d-8f3d-3a44022839c1/



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list