You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2021/08/26 09:55:00 UTC

[jira] [Created] (HIVE-25483) TxnHandler::acquireLock should close the DB conn to avoid connection leaks

Rajesh Balamohan created HIVE-25483:
---------------------------------------

             Summary: TxnHandler::acquireLock should close the DB conn to avoid connection leaks
                 Key: HIVE-25483
                 URL: https://issues.apache.org/jira/browse/HIVE-25483
             Project: Hive
          Issue Type: Improvement
            Reporter: Rajesh Balamohan


TxnHandler::acquireLock should close DB connection on exiting the function.

[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L5688]

[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L5726]

[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L5737-L5740]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)