Skip to content
Snippets Groups Projects
Commit 0c33bf81 authored by Tijo Thomas's avatar Tijo Thomas Committed by Andrew Or
Browse files

[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
parent 074d75d4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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