Created 11-25-2019 05:38 AM
I am trying to use Ranger for Authorization with Hive and HDFS. But somehow Ranger doesn't recognize Hive or HDFS. I don't see the default policies in Ranger for Hive and HDFS. I activated the Ranger Plugins for Hive and HDFS and checked the Advanced ranger-hive-plugin-properties and Advanced ranger-hdfs-plugin-properties. For me everything seems fine, but the services don't appear in Ranger. I also activated Ranger as authorization method for Hive. But that also didn't help
This is how my configuration looks:
Ranger Services:Ranger Services.JPG
Ranger Plugins:Ranger plugin conf.JPG
Advanced ranger-hdfs-plugin-properties.
advanced hdfs plugin.JPG
Advanced ranger-hive-plugin-properties
advanced hive plugin.JPG
What am I missing here? I would be happy about hints!
Thanks
Created 11-25-2019 07:54 PM
Hi @Caranthir
Please post for further updates.
Created 11-25-2019 02:35 PM
I came across this have you seen this document additional Ranger Plugin Configuration Steps for Kerberos Clusters if you are running HDP 3.1.4 on the same page you will also find some specific configs for hive.
You will need to create a Kerberos principal and the below values are different with your screenshot
HDFS Plugin.PNG
Values to Change
For hive
HIVE Plugin.PNG
The above steps are for HDP 3.1.4
Hope that helps
Created 11-25-2019 07:54 PM
Hi @Caranthir
Please post for further updates.
Created 11-27-2019 03:26 AM
Thanks for the answers. I don't use Kerberos. Adding the services manually to Ranger worked out. It can connect successfully. I don't know why it didn't add the services automatically to Ranger. Anyway my problem is solved.