I have a cluster HDP 3.1.5 and I have to apply ranger policies on hive but after successfully enabling hive plugin, its not getting registered in ranger --> audit --> plugin status. And all resources(database, tables) in hive became inaccessible for all users. No default policy is created after enabling hive plugin.
Asked
Active
Viewed 401 times
1 Answers
1
In the service screen shot, there is no Hive service. As far as I know, before enabling the plugin, you need to create a service (repository) first.
Please follow the below steps:
- In the second screenshot, click
+
sign for Hive. - You need to fill the mandatory sections;
Service Name
,Username
,Password
,Jdbc.driverClassName
,Jdbc.url
(HS2 connection url). - Test the connection;
- Then add the service and go to hive-plugin directory.
- Modify
install.properties
file for hive-plugin (service name, Hive home dir etc). - Run
sudo ./enable-hive-plugin.sh
. - Restart Hive.
- Now you should see hive-plugin in audit screen.

Sercan
- 2,081
- 2
- 10
- 23