05-14-2019 10:16 AM - last edited on 05-14-2019 01:21 PM by cjervis
I'm installing a new Cloudera 6.2 Cluster and I used to use The sentry policy file for creating roles, groups and users. Now I'm trying to migrate that to the sentry service configuration. But I'm stuck in this issue, and I think I missed a step.
This is what I did:
I can confirm that Sentry is Synchronized with HDFS:
sudo -u hdfs hdfs dfs -getfacl /user/hive/warehouse/testdb.db group:group_testdb_admin:rwx
Also, the roles and groups are created
SHOW ROLE GRANT GROUP group_testdb_admin; testdb_admin_role
But here is my problem. When I login as testuser1 and try to access the testdb database I get an AuthorizationException
show tables in testdb; AuthorizationException: User 'usertest1' does not have privileges to access: testdb.*.*
- I'm not using a Kerberized Cluster.
- I didn't create the user in the local FS.
So, what step I'm missing?.
05-27-2019 11:47 PM