Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 893E517E0C for ; Wed, 8 Apr 2015 21:19:16 +0000 (UTC) Received: (qmail 50008 invoked by uid 500); 8 Apr 2015 21:19:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49962 invoked by uid 500); 8 Apr 2015 21:19:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 49785 invoked by uid 99); 8 Apr 2015 21:19:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 21:19:13 +0000 Date: Wed, 8 Apr 2015 21:19:13 +0000 (UTC) From: "Michael Muller (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13419) Thrift gateway should propagate text from exception causes. 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/HBASE-13419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486072#comment-14486072 ] Michael Muller commented on HBASE-13419: ---------------------------------------- I should also point out that the large tests eventually timeout for me while trying to start a mini-cluster: ``` org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine Time elapsed: 220.435 sec <<< ERROR! java.io.IOException: Shutting down at org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:225) at org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:446) at org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:225) at org.apache.hadoop.hbase.MiniHBaseCluster.(MiniHBaseCluster.java:94) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1016) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:976) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:850) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:844) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:788) at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.setUpBeforeClass(TestThriftServerCmdLine.java:121) ``` :-( > Thrift gateway should propagate text from exception causes. > ----------------------------------------------------------- > > Key: HBASE-13419 > URL: https://issues.apache.org/jira/browse/HBASE-13419 > Project: HBase > Issue Type: Improvement > Components: Thrift > Reporter: Michael Muller > Labels: newbie, patch > Fix For: 2.0.0, 1.0.1, 1.1.0 > > Attachments: ExpandExceptionCauses.patch, ExpandExceptionCauses3.patch > > > Exceptions passed back from the thrift gateway only include the message text of the toplevel exception. Information from the cause chain is lost. > In some cases, the top-level exception text is useless but there is some very specific and useful information provided in some of the cause exceptions, so it would be very helpful to flatten all of the messages into the exception text returned to the user. -- This message was sent by Atlassian JIRA (v6.3.4#6332)