aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTijo Thomas <tijoparacka@gmail.com>2015-05-07 12:21:09 -0700
committerAndrew Or <andrew@databricks.com>2015-05-07 12:21:26 -0700
commit0c33bf817cef457873007959f3539f93f907dccd (patch)
tree1a04139d5b5909607c45d9d55e0de8468346ae44 /core
parent074d75d4c8ce7c0296ded8f4c4868a9210320222 (diff)
downloadspark-0c33bf817cef457873007959f3539f93f907dccd.tar.gz
spark-0c33bf817cef457873007959f3539f93f907dccd.tar.bz2
spark-0c33bf817cef457873007959f3539f93f907dccd.zip
[SPARK-7399] [SPARK CORE] Fixed compilation error in scala 2.11
scala has deterministic naming-scheme for the generated methods which return default arguments . here one of the default argument of overloaded method has to be removed Author: Tijo Thomas <tijoparacka@gmail.com> Closes #5966 from tijoparacka/fix_compilation_error_in_scala2.11 and squashes the following commits: c90bba8 [Tijo Thomas] Fixed compilation error in scala 2.11
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala b/core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala
index 537b56b49f..9440d456ed 100644
--- a/core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala
+++ b/core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala
@@ -111,7 +111,7 @@ private[spark] object RDDOperationScope {
private[spark] def withScope[T](
sc: SparkContext,
name: String,
- allowNesting: Boolean = false)(body: => T): T = {
+ allowNesting: Boolean)(body: => T): T = {
// Save the old scope to restore it later
val scopeKey = SparkContext.RDD_SCOPE_KEY
val noOverrideKey = SparkContext.RDD_SCOPE_NO_OVERRIDE_KEY