No privileges found for the selected item

172 views
Skip to first unread message

Joaquín Silva

unread,
Aug 16, 2016, 4:01:49 PM8/16/16
to Hue-Users
Hello, I'm having a problem when I try to set privileges to a certain database. I can't add privileges to tables or databases. What I did is this:
1. Add my Hue admin user to the sentry.service.admin.group  and sentry.service.allow.connect
 <property>
    <name>sentry.service.admin.group</name>
    <value>hive,impala,hue,admin</value>
  </property>
  <property>
    <name>sentry.service.allow.connect</name>
    <value>hive,impala,hue,hdfs,admin</value>
  </property>
2. Loggin with the admin user, go to Sentry Tables and select the table or database.

Now I don't see any option to add privileges, I olny see:

No privileges found for the selected item

What should I do?.

Regards,
Joaquín

Joaquín Silva

unread,
Aug 16, 2016, 4:59:45 PM8/16/16
to Hue-Users
I forgot to mention my Hue version: 3.9.0 on CDH 5.7.1 .

Romain Rigaux

unread,
Aug 16, 2016, 9:38:26 PM8/16/16
to Joaquín Silva, Hue-Users
Is the 'admin' user and group exiting at the Unix level?

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Joaquín Silva

unread,
Aug 17, 2016, 9:01:21 AM8/17/16
to Hue-Users, joaquin.sil...@gmail.com
Yes,I disabled HiveServer2 Impersonation and now I don't have permission for anything. Should I grant permission using impala first?.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.

Romain Rigaux

unread,
Aug 22, 2016, 3:08:52 AM8/22/16
to Joaquín Silva, Hue-Users
You could login as the Sentry user and grant permissions to the groups you want:

gethue.com/apache-sentry-made-easy-with-the-new-hue-security-app/

Note: if you don't see the tables even when logged in as a Sentry admin, it is probably not configured properly.

To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Reply all
Reply to author
Forward
0 new messages