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 39EEC10725 for ; Thu, 27 Feb 2014 15:49:30 +0000 (UTC) Received: (qmail 38163 invoked by uid 500); 27 Feb 2014 15:49:23 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 38100 invoked by uid 500); 27 Feb 2014 15:49:22 -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 38077 invoked by uid 500); 27 Feb 2014 15:49:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 38062 invoked by uid 99); 27 Feb 2014 15:49:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 15:49:21 +0000 Date: Thu, 27 Feb 2014 15:49:20 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5232) Make JDBC use the new HiveServer2 async execution API by default 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-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914668#comment-13914668 ] Thejas M Nair commented on HIVE-5232: ------------------------------------- +1 > Make JDBC use the new HiveServer2 async execution API by default > ---------------------------------------------------------------- > > Key: HIVE-5232 > URL: https://issues.apache.org/jira/browse/HIVE-5232 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2 > Affects Versions: 0.13.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Fix For: 0.13.0 > > Attachments: HIVE-5232.1.patch, HIVE-5232.2.patch, HIVE-5232.3.patch > > > HIVE-4617 provides support for async execution in HS2. There are some proposed improvements in followup JIRAs: > HIVE-5217 > HIVE-5229 > HIVE-5230 > HIVE-5441 > There is also [HIVE-5060] which assumes that execute to be asynchronous by default. > > Once they are in, we can think of using the async API as the default for JDBC. This can enable the server to report back error sooner to the client. It can also be useful in cases where a statement.cancel is done in a different thread - the original thread will now be able to detect the cancel, as opposed to the use of the blocking execute calls, in which statement.cancel will be a no-op. -- This message was sent by Atlassian JIRA (v6.1.5#6160)