-
Notifications
You must be signed in to change notification settings - Fork 3.8k
PostgresqlFirehoseDatabaseConnector not bundled #7874
Copy link
Copy link
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels