Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7133

Beeswax methods return Default TException instead of real exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Impala 2.13.0, Impala 3.1.0
    • None
    • None
    • ghx-label-7

    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

      Attachments

        Issue Links

          Activity

            People

              fredyw Fredy Wijaya
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: