You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by srowen <gi...@git.apache.org> on 2017/05/05 08:54:46 UTC

[GitHub] spark pull request #17868: [SPARK-20607][CORE]Add new unit tests to ShuffleS...

Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17868#discussion_r114954827
  
    --- Diff: core/src/test/scala/org/apache/spark/ShuffleSuite.scala ---
    @@ -271,25 +271,49 @@ abstract class ShuffleSuite extends SparkFunSuite with Matchers with LocalSparkC
       test("[SPARK-4085] rerun map stage if reduce stage cannot find its local shuffle file") {
         val myConf = conf.clone().set("spark.test.noStageRetry", "false")
         sc = new SparkContext("local", "test", myConf)
    -    val rdd = sc.parallelize(1 to 10, 2).map((_, 1)).reduceByKey(_ + _)
    +    val rdd = sc.parallelize(1 to 10, 1).map((_, 1)).reduceByKey(_ + _)
    --- End diff --
    
    Why this change?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org