[SPARK-12614][Core]Don't throw non fatal exception from ask#10568
[SPARK-12614][Core]Don't throw non fatal exception from ask#10568zsxwing wants to merge 3 commits intoapache:masterfrom zsxwing:send-ask-fail
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.
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?
|
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.