-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-12614][Core]Don't throw non fatal exception from ask #10568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Most of changes of space changes. You can use https://github.com/apache/spark/pull/10568/files?w=1 to review. |
|
Test build #48637 has finished for PR 10568 at commit
|
|
retest this please |
|
Test build #48672 has finished for PR 10568 at commit
|
|
Not sure I like it. This can mask / make it more difficult to debug real issues, such as unserializable messages. My preferences would be, in order:
|
|
Since For |
|
retest this please |
|
Test build #48716 has finished for PR 10568 at commit
|
|
retest this please |
|
Test build #49024 has finished for PR 10568 at commit
|
|
retest this please |
|
Test build #49938 has finished for PR 10568 at commit
|
|
This is better, although I'm not exactly a fan of blanket-ignoring exceptions like in the case of a local send. Also, doesn't this overlap with #10881? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since #10881 is already handling the one case where we don't care about the exception, can you remove this try..catch and just let any other exceptions propagate up the stack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
|
Test build #50129 has finished for PR 10568 at commit
|
|
LGTM. |
|
Merging to master, thanks! |
Right now RpcEndpointRef.ask may throw exception in some corner cases, such as calling ask after stopping RpcEnv. It's better to avoid throwing exception from RpcEndpointRef.ask. We can send the exception to the future for
ask.