You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by 10110346 <gi...@git.apache.org> on 2018/11/04 08:02:48 UTC

[GitHub] spark pull request #22723: [SPARK-25729][CORE]It is better to replace `minPa...

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

    https://github.com/apache/spark/pull/22723#discussion_r230579084
  
    --- Diff: core/src/main/scala/org/apache/spark/rdd/WholeTextFileRDD.scala ---
    @@ -51,7 +51,7 @@ private[spark] class WholeTextFileRDD(
           case _ =>
         }
         val jobContext = new JobContextImpl(conf, jobId)
    -    inputFormat.setMinPartitions(jobContext, minPartitions)
    +    inputFormat.setMinPartitions(sc, jobContext, minPartitions)
    --- End diff --
    
    Yeah, thanks


---

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