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 authorization if sentry enabled

Highlighted

HIVE authorization if sentry enabled

Explorer

I am admin for cluster and enabled sentry into . when i connect to the hive with my user id and i can able to read /write /load options for me.

But when i log in  with any other user , those users dont have access for write/load privilages . how can i give them those priviliages .

2 REPLIES 2

Re: HIVE authorization if sentry enabled

Cloudera Employee

Did you give those users permissions? If you are using db based sentry service, please give them required permissions using sql: http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/sg_hive_sql.html. Or if you are using policy file based Sentry, give your users permissions by setting rules in a policy file: http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_sg_sentry.html

Highlighted

Re: HIVE authorization if sentry enabled

Explorer

I created a roles in sentry and grant privileges to roles . when the users using beeline to connect to hive, they are getting all the options for hive tables.

 

 

 

But when they are trying to connect to hive directly without beeline, then they are getting only read access for tables

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