[ https://issues.apache.org/jira/browse/IGNITE-16067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454626#comment-17454626 ]
Ivan Bessonov commented on IGNITE-16067: ---------------------------------------- Looks good, thank you for the contribution! Merged to main > JMH benchmarks from the raft module do not work > ----------------------------------------------- > > Key: IGNITE-16067 > URL: https://issues.apache.org/jira/browse/IGNITE-16067 > Project: Ignite > Issue Type: Bug > Reporter: Aleksandr Polovtcev > Assignee: Aleksandr Polovtcev > Priority: Major > Labels: ignite-3 > Time Spent: 50m > Remaining Estimate: 0h > > When running a JMH benchmark in IDEA from the {{raft}} module (e.g. > {{SingleThreadExecutorBenchmark}}) the following error appears: > {noformat} > Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find > the resource: /META-INF/BenchmarkList > at > org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:97) > at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:103) > at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:256) > at org.openjdk.jmh.runner.Runner.run(Runner.java:206) > at > org.apache.ignite.raft.jraft.util.concurrent.SingleThreadExecutorBenchmark.main(SingleThreadExecutorBenchmark.java:85) > {noformat} > h3. Supposed cause > The {{maven-compiler-plugin}} in this module is configured to use a custom > annotation processor which automatically disables other annotation > processors, including the one from JMH. It should be manually enabled. -- This message was sent by Atlassian Jira (v8.20.1#820001)