paul-rogers opened a new issue, #12675:
URL: https://github.com/apache/druid/issues/12675

   [This run](https://app.travis-ci.com/github/apache/druid/jobs/573849349) 
failed in `SqlFirehoseFactoryTest.testWithoutCache`. Oddly, the PR in question 
doesn't even change existing code: it adds new code which is off by itself for 
the moment.
   
   Failure:
   
   ```text
   [INFO] Running 
org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest
   [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.46 
s <<< FAILURE! - in 
org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest
   [ERROR] 
org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest.testWithoutCache
  Time elapsed: 0.59 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 
java.base/jdk.internal.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.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
        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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
   ```
   
   The cleanup also failed:
   
   ```text
   [ERROR] org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest  
Time elapsed: 0.59 s  <<< ERROR!
   java.io.FileNotFoundException: File does not exist: 
/tmp/SqlFirehoseFactoryTest1530634838652263350testWithoutCache
        at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1349)
        at 
org.apache.druid.segment.realtime.firehose.SqlFirehoseFactoryTest.teardown(SqlFirehoseFactoryTest.java:92)
        at 
java.base/jdk.internal.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]

Reply via email to