Reply
krb
New Contributor
Posts: 5
Registered: ‎07-25-2018

Hue authentication on cloudera 5.15 is very slow after configuring AD based kerberos

[ Edited ]

Hi, After configuring the kerberos with AD principles, the Hue authentication is very very slow. The setup is like

1. cloudera manager 5.15

2. Kerberos enables with global-AD system user. 

3. Configure Hue with 

     Authentication backend: desktop.auth.backend.LdapBackend

     gave ldap url as AD url

4. Write hue.ini script..because the cloudera version 5.15 didnt work so we added some script based on this thread

https://community.cloudera.com/t5/Web-UI-Hue-Beeswax/could-not-load-AD-group-members/td-p/56545

5. We didnt setup TLS/SSL certificate ..

 

Any ideas about why the authentication is taking long time (3 to 4 minutes) some times its very quick.. not predictable.. even the services(hdfs, hive, spark) are not stable with kerberos.. Your help should be appreciated and will help lot ....Thanks!

 

  

 

 

Cloudera Employee
Posts: 44
Registered: ‎08-13-2014

Re: Hue authentication on cloudera 5.15 is very slow after configuring AD based kerberos

Can you test an LDAP query from the Hue server using a client such as ldapsearch? It would be good to see how long it takes to get a response from the LDAP server.

Check the value you set for base_dn. If this is overly broad it may take a long time to find users and groups in LDAP. Look to narrow this down as much as possible to reduce the size of the LDAP search. I'd also recommend reading the documentation as this provides information on how you can configure and test LDAP authentication in Hue.

https://www.cloudera.com/documentation/enterprise/latest/topics/hue_sec_ldap_auth.html

Regards,
Jim
Announcements