hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azrael Park (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4901) Connection should be closed when Statement#execute() failed byTTransportException
Date Fri, 09 Aug 2013 14:43:47 GMT

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

Azrael Park updated HIVE-4901:
------------------------------

    Attachment: HIVE-4901.1.patch

rebased.
                
> 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.1.patch, 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

Mime
View raw message