Skip to content

Commit

Permalink
Use renamed shuffle spill config in CoGroupedRDD.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Jan 18, 2014
1 parent d749d47 commit 5316bca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class CoGroupedRDD[K](@transient var rdds: Seq[RDD[_ <: Product2[K, _]]], part:

override def compute(s: Partition, context: TaskContext): Iterator[(K, CoGroupCombiner)] = {
val sparkConf = SparkEnv.get.conf
val externalSorting = sparkConf.getBoolean("spark.shuffle.externalSorting", true)
val externalSorting = sparkConf.getBoolean("spark.shuffle.spill", true)
val split = s.asInstanceOf[CoGroupPartition]
val numRdds = split.deps.size

Expand Down

0 comments on commit 5316bca

Please sign in to comment.