hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16323) HS2 JDOPersistenceManagerFactory.pmCache leaks after HIVE-14204
Date Mon, 05 Jun 2017 22:53:12 GMT

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

Mime
View raw message