Reply
Explorer
Posts: 9
Registered: ‎12-22-2016

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

[ Edited ]

 

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

Highlighted
Cloudera Employee
Posts: 718
Registered: ‎07-30-2013

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
Announcements