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 43F06101D5 for ; Wed, 25 Sep 2013 00:57:26 +0000 (UTC) Received: (qmail 1238 invoked by uid 500); 25 Sep 2013 00:57:25 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 1166 invoked by uid 500); 25 Sep 2013 00:57:25 -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 1156 invoked by uid 99); 25 Sep 2013 00:57:25 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 00:57:25 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4654B1D2F76; Wed, 25 Sep 2013 00:57:25 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8111316836408613597==" MIME-Version: 1.0 Subject: Review Request 14327: HIVE-5230: Better error reporting by async threads in HiveServer2 From: "Prasad Mujumdar" To: "Thejas Nair" Cc: "Prasad Mujumdar" , "hive" Date: Wed, 25 Sep 2013 00:57:25 -0000 Message-ID: <20130925005725.1616.80719@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Prasad Mujumdar" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/14327/ X-Sender: "Prasad Mujumdar" Reply-To: "Prasad Mujumdar" --===============8111316836408613597== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14327/ ----------------------------------------------------------- Review request for hive and Thejas Nair. Bugs: HIVE-5230 https://issues.apache.org/jira/browse/HIVE-5230 Repository: hive-git Description ------- - Use Callable interface to submit background so that it can throw exception - save the background exception and check the status subsequent client requests. Diffs ----- service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java bb0f711 service/src/java/org/apache/hive/service/cli/session/SessionManager.java f392d62 service/src/test/org/apache/hive/service/cli/CLIServiceTest.java a682c63 Diff: https://reviews.apache.org/r/14327/diff/ Testing ------- updated the testExecuteStatementAsync test to verify error sqlstate Thanks, Prasad Mujumdar --===============8111316836408613597==--