Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Impala 4.5.0
-
None
-
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.