hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Commented] (HIVE-16323) HS2 JDOPersistenceManagerFactory.pmCache leaks after HIVE-14204
Date Mon, 05 Jun 2017 18:56:04 GMT


Sergey Shelukhin commented on HIVE-16323:

Also; Hive client is used via a threadlocal. Is sharing metastore client between threads safe?
That exception seems to imply someone closes metastore client while the pool threads are still
running. I am guessing other code doesn't hit that because it calls getMSC, but the whole
thing where some threads close and null it out and other threads reopen it, seems fragile.

> HS2 JDOPersistenceManagerFactory.pmCache leaks after HIVE-14204
> ---------------------------------------------------------------
>                 Key: HIVE-16323
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>         Attachments: HIVE-16323.1.patch, HIVE-16323.2.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

View raw message