[
https://issues.apache.org/jira/browse/HIVE-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095167#comment-15095167
]
Thejas M Nair commented on HIVE-6090:
-------------------------------------
[~aw] hive metastore has had audit logging for it API calls for a while -
HIVE-1948 . HiveServer2 does log details about query being run, and I believe
about session initiation as well, but it is not very structured. Many people
with audit requirement use tools such as Apache Ranger for it. Those tools
write the audit logs using implementations of hive hook apis or hive authorizer
apis.
This patch provides more audit information, as it prints audit information at
the HiveServer2 api level.
[~thiruvel] Thanks for adding the test. Can you please also include a review
board link ?
> 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
> Attachments: HIVE-6090.1.WIP.patch, HIVE-6090.1.patch,
> HIVE-6090.3.patch, HIVE-6090.4.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)