[
https://issues.apache.org/jira/browse/HIVE-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated HIVE-16323:
------------------------------
Attachment: HIVE-16323.4.patch
Good point to set pm to null. However, getPartition seems involve a big block
and synchronize it needs nontrivial code refactory, I don't want to touch it
for now.
> HS2 JDOPersistenceManagerFactory.pmCache leaks after HIVE-14204
> ---------------------------------------------------------------
>
> Key: HIVE-16323
> URL: https://issues.apache.org/jira/browse/HIVE-16323
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Attachments: HIVE-16323.1.patch, HIVE-16323.2.patch,
> HIVE-16323.3.patch, HIVE-16323.4.patch, PM_leak.png
>
>
> Hive.loadDynamicPartitions creates threads with new embedded rawstore, but
> never close them, thus we leak PersistenceManager one per such thread.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)