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 3E28EB042 for ; Tue, 10 Jan 2012 21:12:02 +0000 (UTC) Received: (qmail 24010 invoked by uid 500); 10 Jan 2012 21:12:01 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 23919 invoked by uid 500); 10 Jan 2012 21:12:01 -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 23905 invoked by uid 500); 10 Jan 2012 21:12:00 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 23901 invoked by uid 99); 10 Jan 2012 21:12:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 21:12:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 21:11:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DC7BF143C51 for ; Tue, 10 Jan 2012 21:11:39 +0000 (UTC) Date: Tue, 10 Jan 2012 21:11:39 +0000 (UTC) From: "Jakob Homan (Updated) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <890990765.26950.1326229899904.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <762774657.26934.1326229779731.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2705) SemanticAnalyzer twice swallows an exception it shouldn't 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-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Homan updated HIVE-2705: ------------------------------ Attachment: HIVE-2705.patch Simple patch fixes the two instances of this I found in SemanticAnalyzer. I'm not wild about taking the message and making it the new exception's message, rather than just completely wrapping the original, but this is consistent with other uses in the file. This is a simple change, so I've not included tests, but did verify the new code while debugging a separate issue. > SemanticAnalyzer twice swallows an exception it shouldn't > --------------------------------------------------------- > > Key: HIVE-2705 > URL: https://issues.apache.org/jira/browse/HIVE-2705 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.7.1 > Reporter: Jakob Homan > Assignee: Jakob Homan > Fix For: 0.8.1 > > Attachments: HIVE-2705.patch > > > Twice SemanticAnalyzer catches an exception and drops it, just passing on the original message's in a new SemanticException. This means that those that see the message in the output cannot tell what generated the original exception. These original exceptions should be wrapped, as they are in other parts of the code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira