Slackbot
11/04/2022, 11:47 AMRohan Garg
11/04/2022, 12:44 PMtrino-402 installation with my local druid setup.
I followed the steps mentioned in https://trino.io/docs/current/connector/druid.html
My druid setup was the latest apache master. Which druid version are you using?Shubham Joshi
11/04/2022, 1:57 PMRohan Garg
11/04/2022, 2:01 PMconnector.name=druid
connection-url=jdbc:avatica:remote:url=<http://localhost:8888/druid/v2/sql/avatica/>
8888 was my local router
are you using some authentication setup as well?Shubham Joshi
11/04/2022, 2:06 PMShubham Joshi
11/04/2022, 2:10 PMRohan Garg
11/04/2022, 2:10 PMdruid in the docsRohan Garg
11/04/2022, 2:10 PMShubham Joshi
11/04/2022, 2:11 PMRohan Garg
11/04/2022, 2:27 PMconnection-user and connection-password properties in the catalog propertiesShubham Joshi
11/04/2022, 3:11 PMRohan Garg
11/04/2022, 5:22 PMShubham Joshi
11/05/2022, 3:15 AMShubham Joshi
11/05/2022, 3:16 AMShubham Joshi
11/05/2022, 3:24 AMRohan Garg
11/05/2022, 9:48 AMShubham Joshi
11/06/2022, 9:55 AMRohan Garg
11/06/2022, 2:20 PMRoot certificate from Imply's API page and create a java truststore from it
2. Add the truststore in the jdbc url using the following format : Imply-Private-JDBC-connection-string;truststore=<path-to-truststore-file>;truststore_password=<truststore-password> (ref : https://calcite.apache.org/avatica/docs/client_reference.html - druid uses calcite avatica for JDBC driver). Also added user/password from the Imply API page in the trino catalog properties
3. Connect to the VPN where the druid cluster is before running trino queries
Were you also following a similar way to connect to druid? A couple of things to check outside druid could be :
1. your docker container does allow outside connection
2. your trino container has both coordinator and worker configured in it. a lot of times waiting-for-resources in trino could also mean no workers available
I hope that helps!Shubham Joshi
11/06/2022, 3:49 PMRohan Garg
11/06/2022, 4:09 PM