-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [datasource] Trino:datasource other params illegal #15347
Comments
Search before asking
What happenedWhen I try to add a new trino data source,I get a error
As I know when you try to connect to a Trino with SSL, the jdbc string must link jdbc:trino://IP:PORT?&SSL=true&SSLKeyStorePassword=password&SSLKeyStorePath=<Path to jks file location> But In dolphinscheduler I can not config jdbc sting then I had to add a jdbc connect parameters {"SSL":"true","SSLKeyStorePassword":"password","SSLKeyStorePath":"myJKSfilePath"} Then I get the error in API server log What you expected to happenAs I know when you try to connect to a Trino with SSL, the jdbc string must link jdbc:trino://IP:PORT?&SSL=true&SSLKeyStorePassword=password&SSLKeyStorePath=<Path to jks file location> But In dolphinscheduler I can not config jdbc sting then I had to add a jdbc connect parameters {"SSL":"true","SSLKeyStorePassword":"password","SSLKeyStorePath":"myJKSfilePath"} Then I get the error in API server log. {"SSL":"true"} the data source can be configed but will not work,you will see
How to reproduceJust config a Trino data source use jdbc connect parameters {"SSL":"true","SSLKeyStorePassword":"password","SSLKeyStorePath":"myJKSfilePath"} you will see add data source fail Anything elseNow I update the database table dolphinscheduler update dolphinscheduler.t_ds_datasource set connection_params='{"user":"test","password":"*****","address":"jdbc:trino://**.**.**.**:8443","database":"dwh","jdbcUrl":"jdbc:trino://**.**.**.**:8443/dwh?&SSL=true&SSLKeyStorePassword=*****&SSLKeyStorePath=/home/dolphinscheduler/trino.jks","driverClassName":"io.trino.jdbc.TrinoDriver","validationQuery":"select 1"}' where id=12 to make the trino work. Version3.2.x Are you willing to submit PR?
Code of Conduct
|
Thanks for reporting this, I submit #15351 to fix this issue. |
Search before asking
What happened
When I try to add a new trino data source,I get a error
As I know when you try to connect to a Trino with SSL, the jdbc string must link
But In dolphinscheduler I can not config jdbc sting then I had to add a jdbc connect parameters
Then I get the error in API server log
What you expected to happen
As I know when you try to connect to a Trino with SSL, the jdbc string must link
But In dolphinscheduler I can not config jdbc sting then I had to add a jdbc connect parameters
Then I get the error in API server log.
If you just config like
the data source can be configed but will not work,you will see
How to reproduce
Just config a Trino data source use jdbc connect parameters
you will see add data source fail
Anything else
Now I update the database table dolphinscheduler
to make the trino work.
But I don't want to update database again, I hope all config can be done in Web UI.
Version
3.2.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: