You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sunitha Beeram (JIRA)" <ji...@apache.org> on 2017/06/07 16:26:18 UTC
[jira] [Work started] (HIVE-16844) Fix Connection leak in
ObjectStore when new Conf object is used
[ https://issues.apache.org/jira/browse/HIVE-16844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-16844 started by Sunitha Beeram.
---------------------------------------------
> Fix Connection leak in ObjectStore when new Conf object is used
> ---------------------------------------------------------------
>
> Key: HIVE-16844
> URL: https://issues.apache.org/jira/browse/HIVE-16844
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Sunitha Beeram
> Assignee: Sunitha Beeram
>
> The code path in ObjectStore.java currently leaks BoneCP (or Hikari) connection pools when a new configuration object is passed in. The code needs to ensure that the persistence-factory is closed before it is nullified.
> The relevant code is [here|https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L290]. Note that pmf is set to null, but the underlying connection pool is not closed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)