Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
HIVE-16213 made QueryWrapper AutoCloseable, but queries are still closed manually and not by using try-with-resource. And now Query itself is auto closeable, so we don't need the wrapper at all.
So we should get rid of QueryWrapper and use try-with-resource to create queries.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-10895 ObjectStore does not close Query objects in some calls, causing a potential leak in some metastore db resources
- Closed
-
HIVE-16213 ObjectStore can leak Queries when rollbackTransaction throws an exception
- Closed
-
HIVE-17735 ObjectStore.addNotificationEvent is leaking queries
- Closed
- links to