Error validating LDAP user
You may see an “
Bad status: 3 (PLAIN auth failed: Error validating LDAP
user) error message after logging into the Hue web interface, if you have
enabled LDAP and Kerberos on your cluster. Additionally, you may not be able to view the
Hive tables. This happens because the Hive service uses LDAP to authenticate the Hue service
instead of Kerberos. To resolve this issue, you must set the value of the
KERBEROS in the Hue
hive-site.xml configuration using Cloudera
- Log into Cloudera Manager as an Administrator.
- Go to .
Click View as XML and add the following lines in the
<property> <name>hive.server2.authentication</name> <value>KERBEROS</value> </property>Alternatively, you can click + to enable the Editor mode and specify hive.server2.authentication in the Name field and KERBEROS in the Value field.
- Click Save Changes.
hive.server2.authenticationproperty is appended to the hive/conf/hive-site.xml file.
- Restart the Hue service.