[ 
https://issues.apache.org/jira/browse/HIVE-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028750#comment-16028750
 ] 

Thejas M Nair commented on HIVE-16323:
--------------------------------------

This leak and also usage of syncMetaStoreClient seems to be from HIVE-14204 . 
Thats why I suggested it here.
We could track the syncMetaStoreClient.close() change in a separate jira as 
well, if you prefer that.


> 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, 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)

Reply via email to