[ 
https://issues.apache.org/jira/browse/HIVE-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vaibhav Gumashta updated HIVE-7353:
-----------------------------------

    Description: While using embedded metastore, while creating background 
threads to run async operations, HiveServer2 ends up creating new instances of 
JDOPersistanceManager rather than using the one from the foreground (handler) 
thread. Since JDOPersistanceManagerFactory caches JDOPersistanceManager 
instances, they are never GCed.  (was: While using embedded metastore, when 
creating background threads to run async operations, HiveServer2 ends up 
creating new instances of JDOPersistanceManager rather than using the one from 
the foreground (handler) thread. Since JDOPersistanceManagerFactory caches 
JDOPersistanceManager instances, they are never GCed.)

> 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
>
>
> While using embedded metastore, while creating background threads to run 
> async operations, HiveServer2 ends up creating new instances of 
> JDOPersistanceManager rather than using the one from the foreground (handler) 
> thread. Since JDOPersistanceManagerFactory caches JDOPersistanceManager 
> instances, they are never GCed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to