You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/07 00:25:01 UTC

[jira] [Commented] (IMPALA-7133) Beeswax methods return Default TException instead of real exception

    [ https://issues.apache.org/jira/browse/IMPALA-7133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504085#comment-16504085 ] 

ASF subversion and git services commented on IMPALA-7133:
---------------------------------------------------------

Commit ca64bbb159237180dfda2dc7e9e4ba09171c030e in impala's branch refs/heads/2.x from [~tarmstrong@cloudera.com]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=ca64bbb ]

IMPALA-7101 addendum: loosen exception check on 2.x

This works around IMPALA-7133 by accepting the bogus message
in the test. We can revert this change once IMPALA-7133 is fixed.

Change-Id: Id94c658223a4e5f6b12aa62120f20136b1065081
Reviewed-on: http://gerrit.cloudera.org:8080/10623
Reviewed-by: Dan Hecht <dh...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Beeswax methods return Default TException instead of real exception
> -------------------------------------------------------------------
>
>                 Key: IMPALA-7133
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7133
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.13.0, Impala 3.1.0
>            Reporter: Tim Armstrong
>            Priority: Major
>              Labels: usability
>
> An instance of this bug is that we see a "Default TException" error instead of "Query Id ... Not Found" because of the following issue:
> * get_results_metadata() does not declare that it throws BeeswaxException (it declares throwing QueryNotFoundException) 
> * But our implementation actually throws that in the "Query Id ... Not Found" case
> * The Thrift C++ server has some logic that calls .what() on unknown exceptions and wraps them into a TException
> * On 3.x, we have THRIFT-727 in Thrift 0.9.3, which implements .what(), so the original error message is present albeit wrapped in some garbage. 
> * On 2.x .what() does not return any useful information, so we just get a weird empty message



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org