Skip to content

Commit

Permalink
Merge pull request apache#412 from harveyfeng/master
Browse files Browse the repository at this point in the history
Add default value for HadoopRDD's `cloneRecords` constructor arg

Small mend to https://github.com/apache/incubator-spark/pull/359/files#diff-1 for backwards compatibility
  • Loading branch information
pwendell committed Jan 14, 2014
2 parents a2fee38 + 9e84e70 commit b07bc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/rdd/HadoopRDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class HadoopRDD[K: ClassTag, V: ClassTag](
keyClass: Class[K],
valueClass: Class[V],
minSplits: Int,
cloneRecords: Boolean)
cloneRecords: Boolean = true)
extends RDD[(K, V)](sc, Nil) with Logging {

def this(
Expand Down

0 comments on commit b07bc02

Please sign in to comment.