[
https://issues.apache.org/jira/browse/HIVE-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037800#comment-16037800
]
Rajesh Balamohan commented on HIVE-16323:
-----------------------------------------
SynchronizedMetaStoreClient is used only in load-dynamic-partition threads.
Should {{ObjectStore.shutdodown()}} set {{pm}} to null as this can be invoked
lots of times?. Also getPartition() called via loadPartition() should be using
"getSychronizedMSC()::getPartitionWithAuthInfo()" to be on safer side.
> 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)