-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0.0
-
Fix Version/s: None
-
Component/s: Metastore
-
Labels:None
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.
- is duplicated by
-
HIVE-10895 ObjectStore does not close Query objects in some calls, causing a potential leak in some metastore db resources
-
- Closed
-