Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1B2B200CCA for ; Wed, 5 Jul 2017 06:45:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C033A1613F2; Wed, 5 Jul 2017 04:45:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 125F4161036 for ; Wed, 5 Jul 2017 06:45:04 +0200 (CEST) Received: (qmail 26991 invoked by uid 500); 5 Jul 2017 04:45:04 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 26980 invoked by uid 99); 5 Jul 2017 04:45:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 04:45:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7D7C8C67E5 for ; Wed, 5 Jul 2017 04:45:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qZh2Ejke7Vcs for ; Wed, 5 Jul 2017 04:45:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BC4225F4EC for ; Wed, 5 Jul 2017 04:45:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D2FB9E0D9F for ; Wed, 5 Jul 2017 04:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 60D952462E for ; Wed, 5 Jul 2017 04:45:00 +0000 (UTC) Date: Wed, 5 Jul 2017 04:45:00 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-16962) Better error msg for Hive on Spark in case user cancels query and closes session MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Jul 2017 04:45:05 -0000 [ https://issues.apache.org/jira/browse/HIVE-16962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074240#comment-16074240 ] Xuefu Zhang commented on HIVE-16962: ------------------------------------ @lefty, thank for pointing it out. I lost track of the releases. I committed it to master and have no plan to commit to other branches. What's the right fix version then? > Better error msg for Hive on Spark in case user cancels query and closes session > -------------------------------------------------------------------------------- > > Key: HIVE-16962 > URL: https://issues.apache.org/jira/browse/HIVE-16962 > Project: Hive > Issue Type: Improvement > Components: Spark > Affects Versions: 1.1.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Fix For: 2.2.0 > > Attachments: HIVE-16962.2.patch, HIVE-16962.patch, HIVE-16962.patch > > > In case user cancels a query and closes the session, Hive marks the query as failed. However, the error message is a little confusing. It still says: > {quote} > org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.spark.SparkTask. Failed to create spark client. This is likely because the queue you assigned to does not have free resource at the moment to start the job. Please check your queue usage and try the query again later. > {quote} > followed by some InterruptedException. > Ideally, the error should clearly indicates the fact that user cancels the execution. -- This message was sent by Atlassian JIRA (v6.4.14#64029)