You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Zameer Manji (JIRA)" <ji...@apache.org> on 2016/10/17 21:54:59 UTC

[jira] [Commented] (AURORA-1796) Several JMH microbenchmarks are failing

    [ https://issues.apache.org/jira/browse/AURORA-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583606#comment-15583606 ] 

Zameer Manji commented on AURORA-1796:
--------------------------------------

This is a guice binding error that is obscured by the fact we are on JDK 8 with not Guice 4.0.

> Several JMH microbenchmarks are failing
> ---------------------------------------
>
>                 Key: AURORA-1796
>                 URL: https://issues.apache.org/jira/browse/AURORA-1796
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Stephan Erb
>
> In the context of https://reviews.apache.org/r/52921/ I tried to run our micro benchmarks:
> * {{UpdateStoreBenchmarks}} seems to work as expected
> * {{StatusUpdateBenchmark}} seems to work ax expected
> * {{TaskStoreBenchmarks}} seems wo work as expected otherwise. However, the ops/sec for the h2 based tests seems to be off by a great margin. 
> * {{SchedulingBenchmarks}} seems to take for ever. I aborted after 4 hours 
> * {{SnapshotBenchmarks}} fails with the exception below 
> * {{ThriftApiBenchmarks}} fails with the exception below 
> This ticket is about the last two failing benchmarks.  The following exception is written for each benchmark, indicating a problem in guice:
> {code}
> com.google.inject.internal.util.$ComputationException: java.lang.ArrayIndexOutOfBoundsException: 44204
>        	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:553)
>        	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
>        	at com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
>        	at com.google.inject.internal.util.$StackTraceElements.forMember(StackTraceElements.java:53)
>        	at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:716)
>        	at com.google.inject.internal.Errors.formatSource(Errors.java:678)
>        	at com.google.inject.internal.Errors.format(Errors.java:555)
>        	at com.google.inject.CreationException.getMessage(CreationException.java:48)
>        	at java.lang.Throwable.getLocalizedMessage(Throwable.java:391)
>        	at java.lang.Throwable.toString(Throwable.java:480)
>        	at java.lang.Throwable.<init>(Throwable.java:311)
>        	at java.lang.Exception.<init>(Exception.java:102)
>        	at java.lang.RuntimeException.<init>(RuntimeException.java:96)
>        	at org.openjdk.jmh.runner.BenchmarkException.<init>(BenchmarkException.java:34)
>        	at org.openjdk.jmh.runner.BenchmarkHandler.runIteration(BenchmarkHandler.java:438)
>        	at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:263)
>        	at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:235)
>        	at org.openjdk.jmh.runner.BaseRunner.doSingle(BaseRunner.java:142)
>        	at org.openjdk.jmh.runner.BaseRunner.runBenchmarksForked(BaseRunner.java:76)
>        	at org.openjdk.jmh.runner.ForkedRunner.run(ForkedRunner.java:72)
>        	at org.openjdk.jmh.runner.ForkedMain.main(ForkedMain.java:84)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 44204
>        	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
>        	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
>        	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
>        	at com.google.inject.internal.util.$LineNumbers.<init>(LineNumbers.java:62)
>        	at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:36)
>        	at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:33)
>        	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)
>        	... 20 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)