[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-24 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Fix Version/s: (was: 3.1.2)

> 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
>  Components: Logging
>Affects Versions: 1.2.2, 2.2.0, 3.1.0
>Reporter: Hui An
>Assignee: Hui An
>Priority: Major
> Attachments: HIVE-21943.patch.1, HIVE-21943.patch.2, 
> HIVE-21943.patch.3
>
>
> 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.14#76016)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-24 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Affects Version/s: 1.2.2
   2.2.0
   3.1.0

> 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
>  Components: Logging
>Affects Versions: 1.2.2, 2.2.0, 3.1.0
>Reporter: Hui An
>Assignee: Hui An
>Priority: Major
> Fix For: 3.1.2
>
> Attachments: HIVE-21943.patch.1, HIVE-21943.patch.2, 
> HIVE-21943.patch.3
>
>
> 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.14#76016)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-24 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: HIVE-21943.patch.3

> 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
>  Components: Logging
>Reporter: Hui An
>Assignee: Hui An
>Priority: Major
> Fix For: 3.1.2
>
> Attachments: HIVE-21943.patch.1, HIVE-21943.patch.2, 
> HIVE-21943.patch.3
>
>
> 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.14#76016)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-24 Thread Jeffrey(Xilang) Yan (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey(Xilang) Yan updated HIVE-21943:
---
Component/s: Logging

> 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
>  Components: Logging
>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.14#76016)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: HIVE-21943.patch.2

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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: (was: HIVE-21943.patch.2)

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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: HIVE-21943.patch.2

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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: (was: HIVE-21943.patch.1)

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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
  Assignee: Hui An
Attachment: HIVE-21943.patch.1
Status: Patch Available  (was: Open)

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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Fix Version/s: 3.1.2

> 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
>Priority: Major
> Fix For: 3.1.2
>
> Attachments: HIVE-21943.patch.1
>
>
> 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)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-05 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Attachment: HIVE-21943.patch.1

> 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
>Priority: Major
> Attachments: HIVE-21943.patch.1
>
>
> 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)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-03 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Description: 
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. 

  was:
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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 


> 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
>Priority: Major
>
> 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)


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-02 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Description: 
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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 

  was:
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 assocate 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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 


> 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
>Priority: Major
>
> 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 infomations in the audit log of HS2, like username, 
> ipAddress, queryId, queryStr, etc. 



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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-02 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Description: 
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 connect 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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 

  was: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 connect 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?


> 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
>Priority: Major
>
> 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 connect 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 infomations in the audit log of HS2, like username, 
> ipAddress, queryId, queryStr, etc. 



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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-02 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Description: 
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 assocate 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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 

  was:
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 connect 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 infomations in the audit log of HS2, like username, 
ipAddress, queryId, queryStr, etc. 


> 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
>Priority: Major
>
> 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 assocate 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 infomations in the audit log of HS2, like username, 
> ipAddress, queryId, queryStr, etc. 



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


[jira] [Updated] (HIVE-21943) Why do we not have audit log in HiveServer2?

2019-07-02 Thread Hui An (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hui An updated HIVE-21943:
--
Description: 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 connect 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?  
(was: 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 connect 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?)

> 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
>Priority: Major
>
> 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 connect 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?



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