[ https://issues.apache.org/jira/browse/HIVE-10895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588504#comment-14588504 ]
Vaibhav Gumashta commented on HIVE-10895: ----------------------------------------- [~aihuaxu] Thanks for the comments on rb. As you have also identified, there are some issues with v1 patch (I re-read the Query.close API to figure that calling close aggressively will cause losing the iterators). I'll upload a new patch shortly - we need some way to close the query object other than in places which you plan to do in HIVE-11021. > ObjectStore does not close Query objects in some calls, causing a potential > leak in some metastore db resources > --------------------------------------------------------------------------------------------------------------- > > Key: HIVE-10895 > URL: https://issues.apache.org/jira/browse/HIVE-10895 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.14.0, 1.0.0, 1.2.0, 1.1.0, 0.13 > Reporter: Takahiko Saito > Assignee: Vaibhav Gumashta > Attachments: HIVE-10895.1.patch > > > During testing, we've noticed Oracle db running out of cursors. Might be > related to this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)