- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 11-19-2016 01:41 PM - edited 08-17-2019 07:57 AM
PROBLEM STATEMENT: We have a strange problem with ranger. When I do a "select * from <table>; "
I can see in ranger, on hive audit, that my user (dnid) is getting logged correctly. But when I look at the same situation on hdfs audit it shows that another user did the request. This Is to me very strange, I´ve tried with different users and the same problem happens again.
ERROR:
ROOT CAUSE: This is known issue and a BUG -
https://issues.apache.org/jira/browse/HIVE-13120
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_HDP_RelNotes/content/fixed_issues.html
BUG-53108 | HIVE-13120 |
RESOLUTION:
Changed the below property in hiveserver2 configs and restarted hiveserver2 after which the Ranger HDFS audit was showing user as hive in HDFS audit.
From: "hive.server2.enable.doAs"=true TO: "hive.server2.enable.doAs"=false