Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 04-28-2018 06:35 PM - edited 09-16-2022 06:09 AM
Hi,
I am testing Druid with very small amount of data, treat my case as POC before working on big data set.
When creating table on Druid, iam getting Mysql jdbc error. Thought i have specified postgres as my database for metastore.
Am i missing my configuration parameter?
Please help. Thanks in advance.
Created 04-28-2018 09:32 PM
@ln Chari
the properties you need are
set hive.druid.metadata.db.type=postgresql;
set hive.druid.metadata.username=${DRUID_USERNAME};
set hive.druid.metadata.password=${DRUID_PASSWORD};
set hive.druid.metadata.uri=jdbc:postgresql://${METADATA_DRUID_HOST}:5432/druid;
You were missing hive.druid.metadata.db.type
Also make sure that ${DRUID_USERNAME} are replaced with actual values
You do not need all the properties starting with druid.*
Created 04-28-2018 09:32 PM
@ln Chari
the properties you need are
set hive.druid.metadata.db.type=postgresql;
set hive.druid.metadata.username=${DRUID_USERNAME};
set hive.druid.metadata.password=${DRUID_PASSWORD};
set hive.druid.metadata.uri=jdbc:postgresql://${METADATA_DRUID_HOST}:5432/druid;
You were missing hive.druid.metadata.db.type
Also make sure that ${DRUID_USERNAME} are replaced with actual values
You do not need all the properties starting with druid.*
Created 05-02-2018 09:17 AM
Hi Slim,
Thanks for your response. That worked. I have few more questions, i will open a new thread.