You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/06/06 20:47:00 UTC
[jira] [Created] (IMPALA-7133) Beeswax methods return Default
TException instead of real exception
Tim Armstrong created IMPALA-7133:
-------------------------------------
Summary: 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
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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)