You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/06/12 14:55:54 UTC

[GitHub] [incubator-druid] nl-brett-stime opened a new issue #7874: PostgresqlFirehoseDatabaseConnector not bundled

nl-brett-stime opened a new issue #7874: PostgresqlFirehoseDatabaseConnector not bundled
URL: https://github.com/apache/incubator-druid/issues/7874
 
 
   ### 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
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org