[ 
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.3.patch

Switch metaStoreClient to getMSC, also close syncMetaStoreClient as Thejas 
commented.

I think this Hive client is only shared with load-dynamic-partitions threads, 
and within the threads, write operations are synchronized via 
SynchronizedMetaStoreClient. cc [~rajesh.balamohan].

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