[ https://issues.apache.org/jira/browse/HIVE-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111434#comment-14111434 ]
Szehon Ho commented on HIVE-7353: --------------------------------- Thanks, +1 on latest patch pending tests. > HiveServer2 using embedded MetaStore leaks JDOPersistanceManager > ---------------------------------------------------------------- > > Key: HIVE-7353 > URL: https://issues.apache.org/jira/browse/HIVE-7353 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.13.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Fix For: 0.14.0 > > Attachments: HIVE-7353.1.patch, HIVE-7353.2.patch, HIVE-7353.3.patch, > HIVE-7353.4.patch, HIVE-7353.5.patch, HIVE-7353.6.patch, HIVE-7353.7.patch, > HIVE-7353.8.patch > > > While using embedded metastore, while creating background threads to run > async operations, HiveServer2 ends up creating new instances of > JDOPersistanceManager which are cached in JDOPersistanceManagerFactory. Even > when the background thread is killed by the thread pool manager, the > JDOPersistanceManager are never GCed because they are cached by > JDOPersistanceManagerFactory. -- This message was sent by Atlassian JIRA (v6.2#6252)