Unknown provider[mysql] of Key[type=org.apache.druid.metadata.MetadataStorageProvider,
I'm testing apache-druid-0.13.0-incubating, and using the Quickstart tutorial
./supervise -c ../quickstart/tutorial/conf/tutorial-cluster.conf
In "quickstart/tutorial/conf/druid/_common/common.runtime.properties" I set druid.extensions.loadList=["mysql-metadata-storage", "druid-hdfs-storage", "druid-kafka-indexing-service"] and configure the mysql settings, server, port etc. The mysql jar files exist in druid/extensions/mysql-metadata-storage and in druid/lib. I can see in the error log that the jar files are in the classpath. This is the error on startup (full log attached)
2018-12-19T18:16:03,439 ERROR [main] org.apache.druid.cli.CliCoordinator - Error when starting up. Failing. com.google.inject.ProvisionException: Unable to provision, see the following errors:
- Unknown provider[mysql] of Key[type=org.apache.druid.metadata.MetadataStorageProvider, annotation=[none]], known options[[derby]] at org.apache.druid.guice.PolyBind.createChoiceWithDefault(PolyBind.java:108) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.metadata.storage.derby.DerbyMetadataStorageDruidModule) while locating org.apache.druid.metadata.MetadataStorageProvider while locating org.apache.druid.metadata.MetadataStorage
1 error at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:?] at com.google.inject.internal.Inje
http://druid.io/docs/latest/development/extensions-core/mysql.html
known options[[derby]]
it says it didn't load the mysql extension, only derby capability is available.
@mprior10 I believe you've already resolved the issue, right?
Hi Egor,
I didn’t get back to this, after I got the error.
Thanks
Mike
From: Egor Riashin [mailto:[email protected]] Sent: Friday, April 12, 2019 5:24 PM To: apache/incubator-druid Cc: Prior, Mike; Mention Subject: Re: [apache/incubator-druid] Unknown provider[mysql] of Key[type=org.apache.druid.metadata.MetadataStorageProvider, (#6759)
known options[[derby]]
it says it didn't load the mysql extension, only derby capability is available. @mprior10https://github.com/mprior10 I believe you've already resolved the issue, right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/incubator-druid/issues/6759#issuecomment-482636979, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqyiX-G8slemuGRCJlQsOZS_2wfvqdXjks5vgLMxgaJpZM4Zay5O.
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.