Skip to content

Conversation

@stshe
Copy link
Contributor

@stshe stshe commented Apr 24, 2015

Added a check to the SparkContext.union method to check that a partitioner is defined on all RDDs when instantiating a PartitionerAwareUnionRDD.

Copy link
Member

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.

@pwendell
Copy link
Contributor

Jenkins, test his please. This LGTM

@srowen
Copy link
Member

srowen commented Apr 25, 2015

ok to test

@SparkQA
Copy link

SparkQA commented Apr 25, 2015

Test build #705 has finished for PR 5679 at commit 5a3d846.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch adds the following new dependencies:
    • tachyon-0.6.4.jar
    • tachyon-client-0.6.4.jar
  • This patch removes the following dependencies:
    • tachyon-0.5.0.jar
    • tachyon-client-0.5.0.jar

@srowen
Copy link
Member

srowen commented Apr 26, 2015

Jenkins, retest this please

@SparkQA
Copy link

SparkQA commented Apr 27, 2015

Test build #714 has started for PR 5679 at commit 5a3d846.

@srowen
Copy link
Member

srowen commented Apr 27, 2015

Jenkins has trouble posting this back, but it failed unit tests, however this seems to be for unrelated reasons. Let me try again.

@SparkQA
Copy link

SparkQA commented Apr 27, 2015

Test build #716 has finished for PR 5679 at commit 5a3d846.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

asfgit pushed a commit that referenced this pull request Apr 27, 2015
…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]>
@asfgit asfgit closed this in b9de9e0 Apr 27, 2015
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 14, 2015
…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
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants