[ https://issues.apache.org/jira/browse/HIVE-20190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
BELUGA BEHR updated HIVE-20190: ------------------------------- Description: https://github.com/apache/hive/blob/e7d1781ec4662e088dcd6ffbe3f866738792ad9b/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java#L320 There are times when a misbehaving client can knock a HS2 instance offline because it opens many simultaneous connections and takes up all of the resources. It would be nice if we could log the source IP address of each connection along with the "Client protocol version" information. In this way it is much easier to pinpoint the problematic client. Extra credit for kerberos principal name as well. was: https://github.com/apache/hive/blob/e7d1781ec4662e088dcd6ffbe3f866738792ad9b/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java#L320 There are times when a misbehaving client can knock a HS2 instance offline because it opens many simultaneous connections and takes up all of the resources. It would be nice if we could log the source IP address of each connection along with the "Client protocol version" information. > Report Client IP Address When Opening New Session > ------------------------------------------------- > > Key: HIVE-20190 > URL: https://issues.apache.org/jira/browse/HIVE-20190 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Affects Versions: 3.0.0, 2.3.2, 4.0.0 > Reporter: BELUGA BEHR > Priority: Major > > https://github.com/apache/hive/blob/e7d1781ec4662e088dcd6ffbe3f866738792ad9b/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java#L320 > There are times when a misbehaving client can knock a HS2 instance offline > because it opens many simultaneous connections and takes up all of the > resources. It would be nice if we could log the source IP address of each > connection along with the "Client protocol version" information. In this way > it is much easier to pinpoint the problematic client. Extra credit for > kerberos principal name as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)