How to configure Hue for LDAP Authentication between Beeswax and Hive in Pivotal HD
search cancel

How to configure Hue for LDAP Authentication between Beeswax and Hive in Pivotal HD

book

Article ID: 295105

calendar_today

Updated On:

Products

Services Suite

Issue/Introduction

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.


Environment


Cause

Prior to PHD 3.0.1, it's not possible to configure Hue for LDAP Authentication between Beeswax and Hive.

Resolution

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

......


Additional Information