Hi Werner,
I think HMS - Ranger integration has been implemented on Hive side for Hive-4,
but not released yet:
Commit:
https://github.com/apache/hive/commit/10b6d70da1442cccf533bc97f56a622ec9f39661
Jira: https://issues.apache.org/jira/browse/HIVE-21753
After enabling Hive plugin, you need to add
"org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory"
as below in hive-site.xml and restart HMS:
<property>
<name>hive.security.authorization.manager</name>
<value>org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory</value>
</property>
<property>
<name>hive.metastore.pre.event.listeners</name>
<value>org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener,org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.HiveMetaStoreAuthorizer</value>
</property>
Please note that as Hive-4 is still under development, the functionalities may
not work as expected.
Regards,
Sercan
----- Original Message -----
From: "Werner Labuschagne" <[email protected]>
To: "dev" <[email protected]>
Sent: Monday, July 29, 2024 6:24:49 AM
Subject: Hive Metastore Standalone Ranger Integration
Hi,
I would like to know if
Hive Metastore Standalone Ranger Integration is possible?
If so is there perhaps a link on more information on this?
Thanks
Werner