[ https://issues.apache.org/jira/browse/IGNITE-16067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Polovtcev updated IGNITE-16067: ----------------------------------------- Description: 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. was: When running a JMH benchmark in IDEA from the {{raft}} module (e.g. {{SingleThreadExecutorBenchmark}}) the following error appears: {noformat} *no* further _formatting_ is done here {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. > 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 > > 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)