You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2015/06/16 16:21:01 UTC

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

Aihua Xu created HIVE-11021:
-------------------------------

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