[SPARK-3887] Send stracktrace in ConnectionManager error replies#2741
[SPARK-3887] Send stracktrace in ConnectionManager error replies#2741JoshRosen wants to merge 2 commits intoapache:masterfrom
Conversation
|
Thanks to @patmcdonough for suggesting this. /cc @rxin for review. |
There was a problem hiding this comment.
I suppose that this could break if we added another message type and used it to report errors. Do you think that I should pre-emptively add error handling code around this?
|
QA tests have started for PR 2741 at commit
|
|
QA tests have finished for PR 2741 at commit
|
|
Test PASSed. |
|
It's really helpful 👍 Just a small question: Should specify charset when converting between bytes and String, or Spark always assumes the environment uses UTF8? |
|
Changes lgtm overall. |
It looks like |
|
QA tests have started for PR 2741 at commit
|
|
QA tests have finished for PR 2741 at commit
|
|
Test PASSed. |
|
LGTM. Is it worth to add |
|
It is probably good to add, but maybe in a separate PR? |
|
I'm merging this in master. |
When reporting that a remote error occurred, the ConnectionManager should also log the stacktrace of the remote exception. This PR accomplishes this by sending the remote exception's stacktrace as the payload in the "negative ACK / error message."