Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.1.1
-
None
-
None
Description
Impala should support user impersonation for authorization requests. This will enable a more fine-grained authorization story for apps such as Hue. This is only for authorization requests, not for HDFS-level impersonation.
This can be done by using the Hive Server 2 "configuration" property to specify the user to impersonate. For example a TOpenSessionReq would look like:
'username': kerberos_principal_short_name, # hue 'configuration': {'impala.proxy.user': user.username}
Impala would just need to verify the user is in the list of authorized proxy users (users who can impersonate other users).