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

Hive QA commented on HIVE-21943:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12973774/HIVE-21943.patch.1

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 16361 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/17883/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17883/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17883/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12973774 - PreCommit-HIVE-Build

> Why do we not have audit log in HiveServer2?
> --------------------------------------------
>
>                 Key: HIVE-21943
>                 URL: https://issues.apache.org/jira/browse/HIVE-21943
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Hui An
>            Assignee: Hui An
>            Priority: Major
>             Fix For: 3.1.2
>
>         Attachments: HIVE-21943.patch.1, HIVE-21943.patch.2
>
>
> Currently, we have audit log in the metastore( see 
> [HIVE-1948|https://issues.apache.org/jira/browse/HIVE-1948]), which provides 
> us useful info, like metadata operations, ip address, etc. But when we use 
> HS2 to connect HMS, all operations would assoicate with HS2 ip address, not 
> actual user's ip address. This could cause difficult problems when we want to 
> locate user's ip address. So I am thinking if we could add audit log in the 
> HS2 too?
> We could add much infomation in the audit log of HS2, like username, 
> ipAddress, queryId, queryStr, etc. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to