Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive access not audited in Ranger in HDP 2.5 sandbox

Solved Go to solution

Hive access not audited in Ranger in HDP 2.5 sandbox

I am working not the Tag Based Polices tutorial (http://hortonworks.com/hadoop-tutorial/tag-based-policies-atlas-ranger/).

I created the "policy to access employee data". Then I started Hive view as maria_dev. When I tried the query I got the permission denied error message as expected. However, when I open the ranger audit page and go to the access tab, I don't see the permission error logged.

8882-screen-shot-2016-10-25-at-124014-pm.png

Here is a screen shot of my hive audit settings:

8883-screen-shot-2016-10-25-at-123554-pm.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hive access not audited in Ranger in HDP 2.5 sandbox

The ranger audit logs were going in but there were so many the hive entries did not appear on the first page even when looking at ranger right after the query. After filtering by ServiceType hive and Result: Denied I was able to find the denied query:

8884-screen-shot-2016-10-25-at-41539-pm.png

1 REPLY 1

Re: Hive access not audited in Ranger in HDP 2.5 sandbox

The ranger audit logs were going in but there were so many the hive entries did not appear on the first page even when looking at ranger right after the query. After filtering by ServiceType hive and Result: Denied I was able to find the denied query:

8884-screen-shot-2016-10-25-at-41539-pm.png

Don't have an account?
Coming from Hortonworks? Activate your account here