You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/02/05 23:37:00 UTC
[jira] [Commented] (HIVE-17735) ObjectStore.addNotificationEvent is
leaking queries
[ https://issues.apache.org/jira/browse/HIVE-17735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353099#comment-16353099 ]
Aihua Xu commented on HIVE-17735:
---------------------------------
patch-1: seems a couple of places are leaking the query object. Attached the patch.
> 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
>
>
> 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)