After upgrading from HDP or CDH clusters to CDP, the Hive plugin for the Hive metastore and
HiveServer appears in the Ranger Admin UI unless configuration property problems due to upgrading exist.
You can remove the incorrect properties to fix the problem.
If the Hive plugin does not appear in the Ranger Admin UI, you need to remove the
following property settings from hive-site.xml using the Safety Valve:
hive.security.authorization.enabled
hive.security.authorization.manager
hive.security.metastore.authorization.manager
You also need to set properties for HMS API-Ranger integration.
-
Check to see if the Hive plugin is visible by clicking .
The Hadoop SQL service type for the hiveMetastore and hiveServer2 applications
should appear. If so, skip the next step. Your configuration is ok.
-
Using the Cloudera Manager Safety Valve, set the following properties and
values for HMS API-Ranger integration:
-
If the Hadoop SQL service type and corresponding applications for Hive and Hive
Metastore do not appear, remove the properties listed above from hive-site.xml
for Hive and Hive on Tez services.
For example, in Cloudera Manager, click , and search for each property. Remove the property name and value
from the Safety Valve for hive-site.xml
.