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 2015/06/16 16:33:01 UTC

[jira] [Resolved] (HIVE-11021) ObjectStore should call closeAll() on JDO query object to release the resources

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

Aihua Xu resolved HIVE-11021.
-----------------------------
    Resolution: Duplicate

Actually already have one for the issue.

> ObjectStore should call closeAll() on JDO query object to release the resources
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-11021
>                 URL: https://issues.apache.org/jira/browse/HIVE-11021
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>
> In ObjectStore class, in getMDatabase() and getMTable(), after retrieving the database and table info from the database, we should call closeAll() on JDO query to release the resource. It would cause the cursor leaking on the database otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)