aakashnand / trino-ranger-demo

Tutorial on how to setup Trino and Apache Ranger using docker
Apache License 2.0
40 stars 21 forks source link

Error Getting Gds Info:unexpected status code 401 :user=root(auth:simple)... #20

Closed DatumWorld closed 3 weeks ago

DatumWorld commented 1 month ago

Error: 1 with Ranger 2.5 & trino server 435, I tried the ranger-3.0.0-SNAPSHOT-trino-plugin-436.tar.gz . then the log told the following:

image Error Getting Gds Info:unexpected status code 401 :user=root(auth:simple)... cache file not exists :trino_gds.json 2 After searching ,i edited the access-control.properties as referred https://docs.starburst.io/latest/security/global-ranger.html#ranger-plugin-configuration. 3 After restart, the console showed as the following image error: configuration property 'ranger.username' was not used,configuration property 'ranger.password' was not used,

Could anyone help ?Thanks!

bhargav2427 commented 3 weeks ago

@DatumWorld Ranger plugin for starburst is different than trino one. You cannot use starburst plugin configuration in trino ranger plugin configuration. are you deploying on kubernetes?