hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4236) JDBC2 HivePreparedStatement does not release resources
Date Wed, 03 Apr 2013 02:27:15 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620532#comment-13620532
] 

Navis commented on HIVE-4236:
-----------------------------

How about to share clean-up related codes by making HivePreparedStatement extend HiveStatement?
                
> 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
>             Fix For: 0.11.0
>
>         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

Mime
View raw message