Skip to content

NPE when using AvroStreamInputRowParser and Kafka #9728

Closed

Description

@jihoonson

Affected Version

0.18.0

Description

This bug was added in #9625. Stack trace is

java.lang.NullPointerException: inputFormatat com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[guava-16.0.1.jar:?]at org.apache.druid.indexing.seekablestream.SettableByteEntityReader.<init>(SettableByteEntityReader.java:57) ~[druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.runInternal(SeekableStreamIndexTaskRunner.java:379) ~[druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.run(SeekableStreamIndexTaskRunner.java:276) [druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTask.run(SeekableStreamIndexTask.java:164) [druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:421) [druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:393) [druid-indexing-service-0.18.0-iap3.jar:0.18.0-iap3]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

Activity

  1. lkm commented on Apr 21, 2020

    @lkm
    Contributor

    @jihoonson Ran into this while testing 0.18, this will prevent any Kafka Avro supervisor from working, right? Are you working on a patch?

  2. TheRum commented on Apr 21, 2020

    @TheRum

    I'm also facing the same issue. Avro parser doesn't work with kafka streaming ingestion.

  3. jihoonson commented on Apr 21, 2020

    @jihoonson
    ContributorAuthor

    This issue is even worse. Only CSV and JSON will work with Kafka indexing service. I'm working on a patch.

  4. added this to the 0.18.1 milestone on Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions