Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Impala on Hue failed after configure LDAP

Impala on Hue failed after configure LDAP

New Contributor

Hi

I'm new user on Hue

 

I have configured LDAP (using Active Directory) integrate with Hue, Hive, Impala for authentication

both Hue, Hive can work properly but impala have following error 

 

messageImage_1563160891340.jpg

 

btw, when I use impala-shell connected with option -l (use ldap authentication) it can work.

I don't know how to handle this issue, please help me.

 

best regards.

 

1 REPLY 1
Highlighted

Re: Impala on Hue failed after configure LDAP

Super Guru

@csjazzman25,

 

Did you configure Hue to use LDAP authentication to Impala?  If you have Kerberos enabled, I'd recommend sticking with that as the internals should be worked out automatically to allow the "hue" user (hue) to impersonate the users who have logged into Hue.

 

Based on the error, it appears you may have configured hue with:

 

[impala]

auth_username=mojdev

 

If that is the case, then the Hue role will attempt to authenticate to Impala and then impersonate the user who logged into the Hue interface (which appears to be "mojdev")

 

Impala is not configured, by default, to allow impersonation by "mojdev" user; rather, it is configured to allow impersonation by the user named "hue".

 

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

 

If you have follow-up questions, please let us know your Hue configuration for Impala.