Member since
09-01-2016
6
Posts
0
Kudos Received
0
Solutions
03-06-2017
12:49 PM
Thanks @Deepak Sharma. We are using HDP 2.4. Documentation has no mention of v2 api.
... View more
03-06-2017
11:58 AM
The Create Policy Json request example given for HDFS and Hive seems to be incorrect. This applies to both 2.4 and 2.5 documentation. https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.3/bk_Security_Guide/content/ranger_rest_api_create_policy.html http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/ranger_rest_api_create_policy.html 1) The HDFS example request json lists "SELECT", "UPDATE" .. as permissions for hdfs resources which is wrong. HDFS resources has only "read","write","execute".. as allowed permissions. 2) The Hive example request json lists "Select", "Update"... as permissions with uppercase starting letter. This is not working. It works only when these are given in all lower case like "select", "update"...
... View more
Labels:
- Labels:
-
Apache Ranger
09-27-2016
10:15 AM
I have encountered the same issue. After specifying the first user "it1" as "Delegating admin", managing grant/revokes worked. I guess, a better policy would be to create a admin user "hive_admin" and delegate all admin activities to this user.
... View more