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 "Dan Hecht (JIRA)" <ji...@apache.org> on 2018/06/06 22:18:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Dan Hecht updated IMPALA-7133:
------------------------------
    Description: 
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

  was:
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
* 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


> 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