With releases prior to PHD 3.0.1, the error "Bad status: 3 (Error validating the login)
" will show up when trying to use Beeswax Hive UI in Hue.
As mentioned in the Pivotal HD 3.0.1 release note, one bug is fixed in Hue component which is to support LDAP authentication via Hue to Hiveserver2.
The Hadoop cluster must be on PHD 3.0.1 at least. If not, upgrade the Hadoop cluster to this release first.
In the [desktop] section of the hue.ini (generally in /etc/hue/conf on Hue server), set parameter ldap_username and ldap_password with the LDAP credentials which is used to communicate with Hive, as shown in the example below:
[desktop] ...... # LDAP username and password of the hue user used for LDAP authentications. # Set it to use LDAP Authentication with HiveServer2 and Impala. ldap_username=hue ldap_password=changeme ......