Will Ranger policies still get applied to Hive when its authorization manager is changed to StorageBasedAuthorizationProvider?
I tried editing the hive-site.xml and set the following properties.Restarted the hive service
hive.security.authorization.enabled
true
hive.security.authorization.manager
org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider
And then tried to select a particular column for a user for whom I’ve not granted permission through ranger.I was expecting that even though Hive installed with ranger plugin should not take policies,since the authorization type is set to Storage based authorization in hive-site.xml.But I was not able to perform select operation on that particular column.
Why are the Ranger policies getting applied,even though the underlying authorization type for Hive is storage based?Isn’t sufficient for the user to have the read permission on file?