gianm commented on issue #9308: Add MemoryOpenHashTable, a table similar to 
ByteBufferHashTable.
URL: https://github.com/apache/druid/pull/9308#issuecomment-582094589
 
 
   > [WARNING] Unused declared dependencies found:
   > [WARNING]    org.easymock:easymock:jar:4.0.2:compile
   
   Hmm, this is a lie. It's required by SqlBenchmark:
   
   ```
   java.lang.NoClassDefFoundError: org/easymock/EasyMock
        at 
org.apache.druid.sql.calcite.util.CalciteTests.createMockSystemSchema(CalciteTests.java:876)
        at 
org.apache.druid.benchmark.query.SqlBenchmark.setup(SqlBenchmark.java:197)
        at 
org.apache.druid.benchmark.query.generated.SqlBenchmark_querySql_jmhTest._jmh_tryInit_f_sqlbenchmark0_G(SqlBenchmark_querySql_jmhTest.java:448)
        at 
org.apache.druid.benchmark.query.generated.SqlBenchmark_querySql_jmhTest.querySql_AverageTime(SqlBenchmark_querySql_jmhTest.java:162)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
        at 
org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   ```
   
   Maybe the analyzer is getting confused since EasyMock isn't being used 
_directly_. It's being used by `CalciteTests.createMockSystemSchema` from the 
druid-sql test jar. For some reason it doesn't get pulled in as a dependency 
unless explicitly declared in the benchmarks pom.
   
   I'm not sure what to do about this...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to