mridulm commented on PR #37779:
URL: https://github.com/apache/spark/pull/37779#issuecomment-1255648587
A few points:
* Plugins are initialized as part of `Executor` construction, but after
uncaught exception handler is set.
* If anything other than `NonFatal` is thrown in `receive` (like the
`LinkageError` from @yabola's example here), it will be handled in
`Inbox.process` as part of `safelyCall` - which will result in re-throwing it.
* This now bubbles up to `receiveLoop` - where we end up throwing the
throwable again (after scheduling it for re-execution).
* The throw should result in uncaught exception handler killing the jvm -
and if it does not, then the re-enqueue in prev step will cause the message to
be reprocessed.
* In this case we are discussing, it should have resulted in killing the
VM.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]