[ 
https://issues.apache.org/jira/browse/HIVE-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Drome updated HIVE-4236:
------------------------------

    Attachment: HIVE-4236.patch

Uploading patch which closes ResultSet and frees server-side resources.
                
> JDBC2 HivePreparedStatement does not release resources
> ------------------------------------------------------
>
>                 Key: HIVE-4236
>                 URL: https://issues.apache.org/jira/browse/HIVE-4236
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.11.0
>            Reporter: Chris Drome
>            Assignee: Chris Drome
>         Attachments: HIVE-4236.patch
>
>
> HivePreparedStatement does not close the associated server-side operation 
> when close() is called. Nor does it call close() on the ResultSet. When 
> execute() is called the current ResultSet is not closed first it is just set 
> to null.
> Similarly, HiveStatement's close() does not call close() on the ResultSet, it 
> just sets it to null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to