paul-rogers opened a new issue, #12664: URL: https://github.com/apache/druid/issues/12664
The unit test `SqlFirehoseFactoryTest.testWithoutCache` failed in [this build](https://app.travis-ci.com/github/apache/druid/jobs/573834310). The PR did not change anything about a firehose. The test failed in "SQL Compatibility" mode, but not in the "plain" mode. The same test passed on a previous build of this same PR. ```text [INFO] Running org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.345 s <<< FAILURE! - in org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest [ERROR] org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest.testWithoutCache Time elapsed: 0.582 s <<< ERROR! java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException at org.apache.druid.segment.realtime.firehose.PrefetchSqlFirehoseFactory$2.next(PrefetchSqlFirehoseFactory.java:221) at org.apache.druid.segment.realtime.firehose.PrefetchSqlFirehoseFactory$2.next(PrefetchSqlFirehoseFactory.java:199) at org.apache.druid.segment.realtime.firehose.SqlFirehose.getNextLineIterator(SqlFirehose.java:84) at org.apache.druid.segment.realtime.firehose.SqlFirehose.hasMore(SqlFirehose.java:63) at org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest.testWithoutCache(SqlFirehoseFactoryTest.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException at org.apache.druid.data.input.impl.prefetch.Fetcher.checkFetchException(Fetcher.java:203) at org.apache.druid.data.input.impl.prefetch.Fetcher.next(Fetcher.java:174) at org.apache.druid.segment.realtime.firehose.PrefetchSqlFirehoseFactory$2.next(PrefetchSqlFirehoseFactory.java:216) ... 35 more Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.druid.data.input.impl.prefetch.Fetcher.checkFetchException(Fetcher.java:194) ... 37 more Caused by: java.lang.NullPointerException at org.apache.druid.segment.realtime.firehose.SqlFetcher.download(SqlFetcher.java:82) at org.apache.druid.data.input.impl.prefetch.Fetcher.fetch(Fetcher.java:134) at org.apache.druid.data.input.impl.prefetch.Fetcher.lambda$fetchIfNeeded$0(Fetcher.java:110) 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) ``` The test then failed a second time on tear-down: ```text [ERROR] org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest Time elapsed: 0.574 s <<< ERROR! java.io.FileNotFoundException: File does not exist: /tmp/SqlFirehoseFactoryTest5418835628494045807testWithoutCache at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1349) at org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest.teardown(SqlFirehoseFactoryTest.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
