hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kolbasov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17735) ObjectStore.addNotificationEvent is leaking queries
Date Wed, 07 Feb 2018 20:50:00 GMT

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

Alexander Kolbasov commented on HIVE-17735:
-------------------------------------------

[~ychena] The lock is held till the end of transaction, not till the end of the query.

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

Mime
View raw message