Joe McDonnell created IMPALA-13514:
--------------------------------------
Summary: Consider a mode where the Status from a Java exception
includes the stack trace
Key: IMPALA-13514
URL: https://issues.apache.org/jira/browse/IMPALA-13514
Project: IMPALA
Issue Type: Improvement
Components: Backend
Affects Versions: Impala 4.5.0
Reporter: Joe McDonnell
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)