Created on 07-09-2017 06:39 PM - edited 09-16-2022 04:54 AM
We are currently running hive(hiveserver2) with sentry, and user impersonation is disable.
When any user connect to hiveserver2 and submit queries, hiveserver2 will submit all the query jobs to yarn, as the same user hive, not the actual the user who connect to hiveserver2.
Is there any way that can let hiveserver2 submit jobs as the actual user?
Created 07-09-2017 07:53 PM
Have you configured Kerberos?
if so
1. klist to see uid for the current ticket
2. ask the actual user to kinit with their uid and password before submit their query
it may help you
Created 07-09-2017 08:51 PM
Created 07-10-2017 08:55 AM
ok, but I am using Kerberos for the authentication.
I am not sure but it 'might' be the reason for your issue because, according to the below site
Created 07-31-2018 12:47 PM
@lewiss Did you find any workaround for this issue?