[ 
https://issues.apache.org/jira/browse/HIVE-17735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16356106#comment-16356106
 ] 

Yongzhi Chen commented on HIVE-17735:
-------------------------------------

By theory, it is. Just to double check, for our pattern to close query is after 
the transaction committed. And it is not difficult to hold the for update query 
until end of transaction to close. 

> ObjectStore.addNotificationEvent is leaking queries
> ---------------------------------------------------
>
>                 Key: HIVE-17735
>                 URL: https://issues.apache.org/jira/browse/HIVE-17735
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Aihua Xu
>            Priority: Major
>         Attachments: HIVE-17735.1.patch, HIVE-17735.2.patch
>
>
> In ObjectStore.addNotificationEvent():
> {code}
>       Query objectQuery = pm.newQuery(MNotificationNextId.class);
>       Collection<MNotificationNextId> ids = (Collection) 
> objectQuery.execute();
> {code}
> The query is never closed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to