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 E8CC4200CCB for ; Wed, 5 Jul 2017 19:24:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E7179163EF0; Wed, 5 Jul 2017 17:24: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 3D831163EEE for ; Wed, 5 Jul 2017 19:24:05 +0200 (CEST) Received: (qmail 56152 invoked by uid 500); 5 Jul 2017 17:24: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 56133 invoked by uid 99); 5 Jul 2017 17:24:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 17:24:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 46EEAC1817 for ; Wed, 5 Jul 2017 17:24:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 9KUs7ee50jbX for ; Wed, 5 Jul 2017 17:24:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 91C7C5FDAD for ; Wed, 5 Jul 2017 17:24:01 +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 DCB0EE0D55 for ; Wed, 5 Jul 2017 17:24:00 +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 1DDC224638 for ; Wed, 5 Jul 2017 17:24:00 +0000 (UTC) Date: Wed, 5 Jul 2017 17:24:00 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 17:24:06 -0000 [ https://issues.apache.org/jira/browse/HIVE-16962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-16962: ------------------------------- Fix Version/s: (was: 2.2.0) 3.0.0 > 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: 3.0.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)