-
Notifications
You must be signed in to change notification settings - Fork 29k
SPARK-7103: Fix crash with SparkContext.union when RDD has no partitioner #5679
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
…as no partitioner
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.
Yeah I like this. I suppose that the pre-existing condition already caught the empty RDD case, which PartitionerAwareUnionRDD will reject. Although symmetry between this check and the following one would be nice I don't think it's important. This looks correct since clearly PartitionerAwareUnionRDD intends to operate only on RDDs with partitioners.
|
Jenkins, test his please. This LGTM |
|
ok to test |
|
Test build #705 has finished for PR 5679 at commit
|
|
Jenkins, retest this please |
|
Test build #714 has started for PR 5679 at commit |
|
Jenkins has trouble posting this back, but it failed unit tests, however this seems to be for unrelated reasons. Let me try again. |
|
Test build #716 has finished for PR 5679 at commit
|
|
Can one of the admins verify this patch? |
…ioner Added a check to the SparkContext.union method to check that a partitioner is defined on all RDDs when instantiating a PartitionerAwareUnionRDD. Author: Steven She <[email protected]> Closes #5679 from stevencanopy/SPARK-7103 and squashes the following commits: 5a3d846 [Steven She] SPARK-7103: Fix crash with SparkContext.union when at least one RDD has no partitioner (cherry picked from commit b9de9e0) Signed-off-by: Sean Owen <[email protected]>
…ioner Added a check to the SparkContext.union method to check that a partitioner is defined on all RDDs when instantiating a PartitionerAwareUnionRDD. Author: Steven She <[email protected]> Closes apache#5679 from stevencanopy/SPARK-7103 and squashes the following commits: 5a3d846 [Steven She] SPARK-7103: Fix crash with SparkContext.union when at least one RDD has no partitioner
…ioner Added a check to the SparkContext.union method to check that a partitioner is defined on all RDDs when instantiating a PartitionerAwareUnionRDD. Author: Steven She <[email protected]> Closes apache#5679 from stevencanopy/SPARK-7103 and squashes the following commits: 5a3d846 [Steven She] SPARK-7103: Fix crash with SparkContext.union when at least one RDD has no partitioner
Added a check to the SparkContext.union method to check that a partitioner is defined on all RDDs when instantiating a PartitionerAwareUnionRDD.