hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9779) ATSHook does not log the end user if doAs=false (it logs the hs2 server user)
Date Sat, 28 Feb 2015 22:32:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341812#comment-14341812
] 

Thejas M Nair commented on HIVE-9779:
-------------------------------------

[~ashettia] Thanks a lot for the patch and testing it out. The changes look good!
Can you please also mention if you had doAs=true/false in the above tests, and what you user
you ran above 3 tests as ?


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

Mime
View raw message