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

Consider a mode where the Status from a Java exception includes the stack trace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.5.0
    • None
    • Backend
    • None
    • ghx-label-11

    Description

      JniUtil::GetJniExceptionMsg() takes the message from a Java exception and turns it into an error Status. It currently has a mode where it writes the exception's stack trace to the log file. It might be nice to have a mode where it includes the exception stack trace in the actual error Status message, which will go all the way to the client.

      When a user hits some ambiguous error (e.g. an InternalStateException with no message), the stack trace is useful for tracking down the code location. If there is a mode where the stack trace is in the error message, it eliminates the need to search through logs (which can be enormous).

      This is also useful for cases where tests are running in parallel.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: