You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Azrael Park (JIRA)" <ji...@apache.org> on 2013/08/09 16:41:48 UTC
[jira] [Work started] (HIVE-4901) Connection should be closed when
Statement#execute() failed byTTransportException
[ https://issues.apache.org/jira/browse/HIVE-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-4901 started by Azrael Park.
> Connection should be closed when Statement#execute() failed byTTransportException
> ---------------------------------------------------------------------------------
>
> Key: HIVE-4901
> URL: https://issues.apache.org/jira/browse/HIVE-4901
> Project: Hive
> Issue Type: Improvement
> Components: JDBC
> Affects Versions: 0.11.0
> Environment: Ubuntu 11.10
> Reporter: Azrael Park
> Assignee: Azrael Park
> Priority: Trivial
> Attachments: HIVE-4901.patch
>
>
> Currently, Connection is not closed when Statement#execute() failed by TTransportException due to shutdown hiveserver. It means this connection can't be used but connection status is still 'not closed'.
> Close connection and throws 'connection is closed' exception from next approach.
> {noformat}
> Scenario is as following:
> 1. Client connect hiveserver.
> 2. Hiveserver shutdown.
> 3. Client execute query.
> >>> Client got TTransportException and Connection is closed.
> 4. Hiveserver start.
> 5. Client execute query
> >>> Client got exception messages 'Can't create statement, Connection is closed'.
> {noformat}
>
--
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