Uh oh!
There was an error while loading. Please reload this page.
[SPARK-16304] LinkageError should not crash Spark executor - #13982
[SPARK-16304] LinkageError should not crash Spark executor#13982petermaxlee wants to merge 2 commits into
Conversation
SparkQA
commented
Jun 30, 2016
Test build #3149 has finished for PR 13982 at commit
|
rxin
commented
Jun 30, 2016
cc @JoshRosen and @ericl |
| /** Returns true if the given exception is a linkage error. */ | ||
| def isLinkageError(e: Throwable): Boolean = e match { | ||
| case _: java.lang.LinkageError => true |
There was a problem hiding this comment.
This can just be e.instanceOf[LinkageError] but an entire method for this is not appropriate
SparkQA
commented
Jul 1, 2016
Test build #3160 has finished for PR 13982 at commit
|
rxin
commented
Jul 6, 2016
@srowen any more feedback? |
srowen
commented
Jul 6, 2016
I don't feel strongly about it. It's something easy to revisit later to change if it turns out special-casing this is undesirable. |
rxin
commented
Jul 6, 2016
Alright merging in master. Thanks. |
zsxwing
commented
Oct 26, 2016
@rxin any objection to merge this one into 2.0? I noticed sometimes spark-shell will throw |
rxin
commented
Oct 26, 2016
No objection. On Wednesday, October 26, 2016, Shixiong Zhu notifications@github.com
|
zsxwing
commented
Oct 26, 2016
thanks! Merging to 2.0. |
What changes were proposed in this pull request?
This patch updates the failure handling logic so Spark executor does not crash when seeing LinkageError.
How was this patch tested?
Added an end-to-end test in FailureSuite.