Naresh P R created HIVE-24634:
---------------------------------
Summary: Create table if not exists should validate whether table
exists before doAuth()
Key: HIVE-24634
URL: https://issues.apache.org/jira/browse/HIVE-24634
Project: Hive
Issue Type: Bug
Reporter: Naresh P R
In Hive + Ranger cluster, Create table if not exist hive-ranger would validate
privileges over complete files in table location even thought table already
exist.
Table exist check should be validated before doAuthorization in compile.
at
org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizer.checkPrivileges(RangerHiveAuthorizer.java:291)
at org.apache.hadoop.hive.ql.Driver.doAuthorizationV2(Driver.java:1337)
at org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:1101)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:710)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)