You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2015/04/17 17:11:59 UTC

[jira] [Commented] (HIVE-6090) Audit logs for HiveServer2

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

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

The changes look good to me. 
Note that it does not capture the effective user if the HS2 delegation feature is used. However, we can do this as part of some follow up jira. One way to get that would be to find the user corresponding to the SessionHandle for requests that have session handle, or a quicker step would be to print the effective user in case of OpenSession along with SessionHandle, and then print SessionHandle for every api call where request includes SessionHandle.

Can you please re-upload the patch for kicking off system test runs ?


> Audit logs for HiveServer2
> --------------------------
>
>                 Key: HIVE-6090
>                 URL: https://issues.apache.org/jira/browse/HIVE-6090
>             Project: Hive
>          Issue Type: Improvement
>          Components: Diagnosability, HiveServer2
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>              Labels: audit, hiveserver
>             Fix For: 1.2.0
>
>         Attachments: HIVE-6090.1.WIP.patch, HIVE-6090.1.patch, HIVE-6090.patch
>
>
> HiveMetastore has audit logs and would like to audit all queries or requests to HiveServer2 also. This will help in understanding how the APIs were used, queries submitted, users etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)