How does UIF work with Impala ?
![gnaldi62](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n1462i304ED06A41271403.png)
Hi,
we have an installation with UIF enabled. For all other activities impersonification on Hadoop works fine, but it seems that this is not the case of Impala. We have run a query with a user but looking at the logs in Cloudera Manager the same query is run by the DSSUSER and not by the end user.
Is that the expected beahiour ?
Thanks. Rgds.
Giuseppe
Answers
-
JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 295 Dataiker
Hi @gnaldi62
,That is expected if you have not explicitly passed additional impersonation info: a DelegationUID must be passed and its value should be the user Impala is supposed to impersonate while running the query. You should use the value provided by DSS, that is ${hadoopUser} and append it to the connection URL (i.e. ;DelegationUID=${hadoopUser})
Please see the following related ticket: https://community.dataiku.com/t5/Using-Dataiku/Different-delegationUID-for-every-user-in-JDBC-connections/m-p/2949
Thanks!
Jordan