dice-group / IGUANA

IGUANA is a benchmark execution framework for RDF triple stores and quad stores
http://iguana-benchmark.eu
GNU Affero General Public License v3.0
24 stars 15 forks source link

ArrayIndexOutOfBoundsException in StresstestResultProcessor #249

Closed nck-mlcnv closed 5 months ago

nck-mlcnv commented 5 months ago
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
        at org.aksw.iguana.cc.tasks.impl.StresstestResultProcessor.process(StresstestResultProcessor.java:92)
        at org.aksw.iguana.cc.tasks.impl.Stresstest.run(Stresstest.java:93)
        at org.aksw.iguana.cc.suite.Suite.run(Suite.java:98)
        at org.aksw.iguana.cc.controller.MainController.main(MainController.java:73)
bigerl commented 5 months ago

@nck-mlcnv what was the matter here?

nck-mlcnv commented 5 months ago

The StresstestResultProcessor created arrays that stored results for every worker. For the access of these arrays the worker id was used. But if you have used warmup workers before the workerids of the actual run didn't correlate to the indices of the array.

I fixed it by reseting the workerids to 0 after the warmup was done.