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 built-in "effective_user()" is not able to retrieve delegated user in HUE

Impala built-in "effective_user()" is not able to retrieve delegated user in HUE

Explorer

 

Hi All,

 

I am using HUE to run impala query.

 

The following were the observations with the effective_user built-in-

 

Logged in name: user1

Instance name: master.localdomain

Domain name: EXAMPLE.COM

 

 

 1) Kerberos enabled & Sentry enabled (with hive.server2.enable.impersonation, hive.server2.enable.doAs set to false)

  select effective_user();

  - It returns "user1/master.localdomain@EXAMPLE.COM" as output which is an expected result.

 

 2) Kerberos enabled & Sentry disabled (with hive.server2.enable.impersonation, hive.server2.enable.doAs set to false)

 select effective_user();

  - It returns "hue/master.localdomain@EXAMPLE.COM" as output which is NOT an expected result.

 

 

Please let me know is it right behavior?

 

Thanks

1 REPLY 1

Re: Impala built-in "effective_user()" is not able to retrieve delegated user in HUE

I would recommend to post this question to the Impala forum:
http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/bd-p/Impala