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 F175C10804 for ; Thu, 24 Oct 2013 15:58:12 +0000 (UTC) Received: (qmail 7623 invoked by uid 500); 24 Oct 2013 15:58:05 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 7454 invoked by uid 500); 24 Oct 2013 15:58:04 -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 7428 invoked by uid 500); 24 Oct 2013 15:58:03 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 7416 invoked by uid 99); 24 Oct 2013 15:58:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 15:58:03 +0000 Date: Thu, 24 Oct 2013 15:58:03 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-5641) BeeLineOpts ignores Throwable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Brock Noland created HIVE-5641: ---------------------------------- Summary: BeeLineOpts ignores Throwable Key: HIVE-5641 URL: https://issues.apache.org/jira/browse/HIVE-5641 Project: Hive Issue Type: Bug Reporter: Brock Noland BeelineOpts has the following code: {noformat} } catch (Throwable t) { return -1; } {noformat} which is bad. I believe it is there because the code called maybe buggy and throw such things as ArrayIndex or NoSuchElement etc. I propose we: 1) catch exception, not throwable. Usage should remain the same without having a giant black hole 2) that we log the exception so we can figure out what is wrong with the underlying code -- This message was sent by Atlassian JIRA (v6.1#6144)