[ https://issues.apache.org/jira/browse/HIVE-20819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677092#comment-16677092 ]
Vihang Karajgaonkar commented on HIVE-20819: -------------------------------------------- Hi [~roohi] Thanks for the patch. The patch looks very simple although its not very clear as to why the connection leaks. Can you please update the description of the JIRA to some more details as to why there is a leak and how the patch fixes the problem? Also, seems like {{Utils.getUGI}} intentionally checks for {{HADOOP_USER_NAME}} Will this patch not break existing functionality? > Leaking Metastore connections when HADOOP_USER_NAME environmental variable is > set > --------------------------------------------------------------------------------- > > Key: HIVE-20819 > URL: https://issues.apache.org/jira/browse/HIVE-20819 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Roohi Syeda > Assignee: Roohi Syeda > Priority: Minor > Attachments: HIVE-20819.1.patch > > > Leaking Metastore connections when HADOOP_USER_NAME environmental variable is > set. > The connections created are in ESTABLISHED state and never closed -- This message was sent by Atlassian JIRA (v7.6.3#76005)