Referring to the official document: http://gethue.com/apache-sentry-made-easy-with-the-new-hue-security-app/#howto
Your hue administrator account in the admin group sentry in the group
Hue open configuration, into the
[libsentry]
#sentry service node where ip
hostname = Sentry
#sentry service port ipc
port = 8038
path #hue sentry-site.xml node (if a copy is not over)
sentry_conf_dir = / etc / sentry / conf
配置内容(仅供参考)
<configuration>
<property>
<name>sentry.service.security.mode</name>
<value>none</value>
</property>
<property>
<name>sentry.service.admin.group</name>
<value>hive,impala,hue,solr,kafka,hbase,spark2,bigdataadmin</value>
</property>
<property>
<name>sentry.service.allow.connect</name>
<value>impala,hive,solr</value>
</property>
<property>
<name>sentry.store.jdbc.url</name>
<value>jdbc:derby:;databaseName=sentry_store_db;create=true</value>
</property>
<property>
<name>sentry.store.jdbc.driver</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
</configuration>
Which sentry.service.admin.group this one must be consistent and sentry service side, you must take account of hue administrator to fill otherwise authorized by the back pages will be missing the Authorize button, you do not know because the hue of a sentry admin user that you have no rights.
Finally, in the hue of the user group, add the appropriate administrator user groups, user groups, and in fact, the system is consistent ldap, such as my user bigdataadmin, the group name will be called bigdataadmin, so that it can and sentry configuration items corresponding to the sentry.service.admin.group.
After all the steps are completed, it can be authorized in hue interface.