You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/02/04 21:18:29 UTC

[GitHub] [druid] ccaominh commented on issue #9308: Add MemoryOpenHashTable, a table similar to ByteBufferHashTable.

ccaominh commented on issue #9308: Add MemoryOpenHashTable, a table similar to ByteBufferHashTable.
URL: https://github.com/apache/druid/pull/9308#issuecomment-582119737
 
 
   > > [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...
   
   The dependency analysis plugin has configuration options for suppressing false positives:
   https://maven.apache.org/plugins/maven-dependency-plugin/examples/exclude-dependencies-from-dependency-analysis.html

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org