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)