Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Audits are not being generated for Hive "Alter table add constraint" commands.
But audits are being generated for other "Alter table" commands.
Steps to reproduce :-
- Create a policy in Hadoop SQL repo for hrt_qa user:-
database-*, table - *, column - *, and allow all access to hrt_qa user. - In beeline, run the following commands
Drop table if exists hr; Create table hr(c0 int); ALTER TABLE hr SET TBLPROPERTIES ('notes'="Please don't drop this table."); ALTER TABLE hr ADD CONSTRAINT unique_key_const UNIQUE (c0) DISABLE NOVALIDATE;
In Ranger Admin, audits are generated for the first 3 commands, but audits are not generated for the fourth command.
Attachments
Issue Links
- is blocked by
-
HIVE-27326 Hive Authorizer not receiving resource information for few alter queries causing authorization check to fail
- Open