[ https://issues.apache.org/jira/browse/HIVE-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341619#comment-14341619 ]
Abdelrahman Shettia commented on HIVE-9779: ------------------------------------------- The identification is fixed and the testing results show that this change works with Yarn ATS. Thanks -Rahman > ATSHook does not log the end user if doAs=false (it logs the hs2 server user) > ----------------------------------------------------------------------------- > > Key: HIVE-9779 > URL: https://issues.apache.org/jira/browse/HIVE-9779 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.13.0, 0.14.0 > Reporter: Abdelrahman Shettia > Assignee: Abdelrahman Shettia > Attachments: 9979.001.patch, 9979.002.patch > > > When doAs=false, ATSHook should log the end username in ATS instead of > logging the hiveserver2 user's name. > The way things are, it is not possible for an admin to identify which query > is being run by which user. The end user information is already available in > the HookContext. -- This message was sent by Atlassian JIRA (v6.3.4#6332)