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/04/23 13:56:21 UTC

[GitHub] [druid] viongpanzi opened a new pull request #9754: Fix NPE when running IncrementalIndexReadBenchmark

viongpanzi opened a new pull request #9754:
URL: https://github.com/apache/druid/pull/9754


   ### Description
   
   When running IncrementalIndexReadBenchmark, we got the following NPE:
   
   ```
   java.lang.NullPointerException
           at org.apache.druid.benchmark.indexing.IncrementalIndexReadBenchmark.makeCursors(IncrementalIndexReadBenchmark.java:201)
           at org.apache.druid.benchmark.indexing.IncrementalIndexReadBenchmark.read(IncrementalIndexReadBenchmark.java:144)
           at org.apache.druid.benchmark.indexing.generated.IncrementalIndexReadBenchmark_read_jmhTest.read_avgt_jmhStub(IncrementalIndexReadBenchmark_read_jmhTest.java:232)
           at org.apache.druid.benchmark.indexing.generated.IncrementalIndexReadBenchmark_read_jmhTest.read_AverageTime(IncrementalIndexReadBenchmark_read_jmhTest.java:173)
           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)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```
   
   This PR has:
   - [x] been self-reviewed.
   - [x] been tested locally.
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not all of these items apply to every PR. Remove the items which are not done or not relevant to the PR. None of the items from the checklist above are strictly necessary, but it would be very helpful if you at least self-review the PR. -->
   
   <hr>
   
   ##### Key changed/added classes in this PR
    * `IncrementalIndexReadBenchmark`
   


----------------------------------------------------------------
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



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