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 899A4DC2A for ; Fri, 26 Oct 2012 23:59:12 +0000 (UTC) Received: (qmail 129 invoked by uid 500); 26 Oct 2012 23:59:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 99986 invoked by uid 500); 26 Oct 2012 23:59:12 -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 99977 invoked by uid 500); 26 Oct 2012 23:59:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 99974 invoked by uid 99); 26 Oct 2012 23:59:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 23:59:11 +0000 Date: Fri, 26 Oct 2012 23:59:11 +0000 (UTC) From: "Bhushan Mandhani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <998395223.34128.1351295951987.JavaMail.jiratomcat@arcas> In-Reply-To: <673889711.33908.1351291993304.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HIVE-3626) RetryingHMSHandler should wrap JDOException inside MetaException 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-3626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485292#comment-13485292 ] Bhushan Mandhani commented on HIVE-3626: ---------------------------------------- Diff at https://reviews.facebook.net/D6255 > RetryingHMSHandler should wrap JDOException inside MetaException > ---------------------------------------------------------------- > > Key: HIVE-3626 > URL: https://issues.apache.org/jira/browse/HIVE-3626 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: Bhushan Mandhani > Assignee: Bhushan Mandhani > Priority: Minor > > RetryingHMSHandler catches and retries for JDOExceptions. If retry limit is exceeded, it throws the caught JDOException. Instead it should wrap this up in a MetaException. That way the error message and stack trace can be successfully communicated back to the Hive Client by the Thrift host and the client can show better error messages and log messages. Otherwise, everything appears as a TException with no further debugging info. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira