Hi Datahub Version: v0.9.5 Deployment mode: docke...
# troubleshoot
r
Hi Datahub Version: v0.9.5 Deployment mode: docker We are trying to use "Apache Ranger" as the authorization backend but unable to integrate it. Docs followed : https://github.com/mohdsiddique/datahub/blob/474407c6aad452898dde6a6183c35a977a25a25b/datahub-ranger-plugin/README.md, https://datahubproject.io/docs/how/configuring-authorization-with-apache-ranger/ Please help us with below doubts: 1. Do we need to set below parameter in GMS env, What other parameters are needed to be disabled/enabed
Copy code
export RANGER_AUTHORIZER_ENABLED=true
2. What will be the value of "ranger.plugin.datahub.service.name" in ranger-datahub-security.xml? will it be "ranger_datahub" or "datahub" 3. Will it make any difference if the user in ranger/AD is in small case while the user in datahub is in upper case ? 4. Will this plugin be compatible with future releases of datahub ? Problem: Ranger policies are not taking effect. I have created a policy and assigned all platform privileges but still user is unable to administer datahub. As the policies are not working, is there ay other way to confirm that the plugin was loaded properly.
a
Hi @rich-policeman-92383, I think @dazzling-yak-93039 may be able to help you here!
d
Hi there, I am trying to find the answers to your questions. For the second about the property, this message may be able to help: https://datahubspace.slack.com/archives/C029A3M079U/p1664351749493329?thread_ts=1663850760.897469&cid=C029A3M079U
For 4. I believe we will try to maintain compatibility of supported plugins
For 1., I see these four env variables all mentioned:
Copy code
AUTH_POLICIES_ENABLED
RANGER_AUTHORIZER_ENABLED
RANGER_USERNAME
RANGER_PASSWORD
For 3., about the casing of the usernames, I don't know about that, I'm sorry.
Could you give it a try and see?
r
I will give this a try and update soon.