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?
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