Replies: 5 comments 2 replies
-
@naude-r I used this plugin with LDAP authentication and it worked fine. If policies are not downloaded on the trino server, something is wrong between the Ranger admin and the trino server. Here are a few steps you can try
|
Beta Was this translation helpful? Give feedback.
-
thank you. a bit of a noob when it comes to ranger and trino. ranger to trino works fine. when adding a policy the field autocomplete works, which would indicate that ranger to trino integration is up and running. when you say "DEBUG" flag, do you mean the log level? this is currently set to TRACE for both the coordinator / worker nodes of trino. where/how fits trino-ranger-plugin-logback.xml into the picture? after trino start/run it is still in the install directory, ie where the plugin was extracted. not sure if this is correct? |
Beta Was this translation helpful? Give feedback.
-
found the issue. using the helm chart to deploy trino. the plugin is enabled during container build. the updated and configured config got overridden with the config maps. will need to think of a different way of doing this. |
Beta Was this translation helpful? Give feedback.
-
now that the plugin is active, the ranger -> trino comms is broken, ie the trino service "Test Connection" fails. not sure how ranger-admin is granted access? should this not be a valid ldap user? |
Beta Was this translation helpful? Give feedback.
-
Hi @naude-r , I have the same setup and also the same issue. I can define policy in Ranger for trino catalogs and other resources, but there is no policy cache in Trino. I used helm chart to deploy trino. I also checked trino config maps and didn't find anything suspicious. Have you resolved your issue? |
Beta Was this translation helpful? Give feedback.
-
hi,
have started making use if your published plugin ranger build.
have you tested this using ldap auth in trino? anything specific we should lookout for?
currently from ranger we have the trino service up and running. policy creation also works, with auto complete of catalogs etc.
from trino, however, no policies are in the cache directory. looks like something is failing. logs do not contain any errors / exceptions.
any idea?
Beta Was this translation helpful? Give feedback.
All reactions