Skip to content
Snippets Groups Projects
Commit b07bc02a authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Merge pull request #412 from harveyfeng/master

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
parents a2fee38e 9e84e705
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment