Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8134

Getting TimeoutException during initialization of clustered counter

    Details

      Description

      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:

      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)
      

      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/

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pruivo Pedro Ruivo
                  Reporter:
                  mgencur Martin Gencur
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: