Description
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. Note that pmf is set to null, but the underlying connection pool is not closed.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-16908 Failures in TestHcatClient due to HIVE-16844
- Closed
- relates to
-
HIVE-16908 Failures in TestHcatClient due to HIVE-16844
- Closed
- links to