Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A7D5109EC for ; Tue, 23 Jul 2013 00:40:49 +0000 (UTC) Received: (qmail 83629 invoked by uid 500); 23 Jul 2013 00:40:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 83585 invoked by uid 500); 23 Jul 2013 00:40:48 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 83577 invoked by uid 500); 23 Jul 2013 00:40:48 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 83573 invoked by uid 99); 23 Jul 2013 00:40:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 00:40:48 +0000 Date: Tue, 23 Jul 2013 00:40:48 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-4901) Connection should be closed when Statement#execute() failed byTTransportException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis reassigned HIVE-4901: --------------------------- Assignee: 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'. It might be clear that query execution got 'Connection Closed' exception if try to use this connection. > {noformat} > Scenario is as following: > 1. Client connect hiveserver. > 2. Hiveserver shutdown. > 3. Client execute query: throw 'Socket' exception and close connection. > 4. Hiveserver start. > 5. Client execute query: throw 'Connection Closed' exception. > 6. May be reconnect. > {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