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.

How to get Unix group Name mapped to Sentry role in postgreSQL

How to get Unix group Name mapped to Sentry role in postgreSQL

New Contributor

I would like to get Unix group Name mapped to Sentry role in postgreSQL

1 REPLY 1
Highlighted

Re: How to get Unix group Name mapped to Sentry role in postgreSQL

Rising Star

@srinu 

 

Sentry permissions can be configured through GRANT and REVOKE statements issued either interactively via Hue or programmatically through the HiveServer2 SQL command line interface, Beeline (documentation available here). 

 

The GRANT ROLE statement can be used to grant roles to groups. Only Sentry admin users can grant roles to a group.

Execute below hive query as sentry admin.

GRANT ROLE <role name> [, <role name>] TO GROUP <group name> [,GROUP <group name>]
 
 
Hope this helps,
Paras
 
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Don't have an account?
Coming from Hortonworks? Activate your account here