Skip to content

PostgresqlFirehoseDatabaseConnector not bundled #7874

@nl-brett-stime

Description

@nl-brett-stime

Affected Version

0.14.2-incubating

Description

In spite of including postgresql-metadata-storage in druid.extensions.loadList, when I try to run a SQL index task with a PostgreSQL source, I get the following:

{"error":"Could not resolve type id 'postgresql' into a subtype of [simple type, class org.apache.druid.metadata.SQLFirehoseDatabaseConnector]: known type ids = [SQLFirehoseDatabaseConnector]\n at [Source: HttpInputOverHTTP@436b4796[c=1881,q=0,[0]=null,s=STREAM]; line: 48, column: 11] (through reference chain: org.apache.druid.indexing.common.task.IndexTask[\"spec\"]->org.apache.druid.indexing.common.task.IndexIngestionSpec[\"ioConfig\"]->org.apache.druid.indexing.common.task.IndexIOConfig[\"firehose\"]->org.apache.druid.segment.realtime.firehose.SqlFirehoseFactory[\"database\"])"}

After a bit of digging it looks like the PostgresqlFirehoseDatabaseConnector isn't included in the main download:

apache-druid-0.14.2-incubating brett.stime$ find . -type f -name *.jar -exec unzip -l {} \; | grep FirehoseDatabaseConnector
     1764  05-10-2019 13:16   org/apache/druid/firehose/sql/MySQLFirehoseDatabaseConnector.class
     4301  05-10-2019 13:14   org/apache/druid/metadata/SQLFirehoseDatabaseConnector.class

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions