Reply
Highlighted
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

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

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

Hi All,

 

  Did anyone get a chance to look into the above issue? Can somebody confirm if it is a normal behavior or not?

 

 

Thanks

Announcements