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

[HOTFIX] Revert "[SPARK-7092] Update spark scala version to 2.11.6"

This reverts commit a11c8683.

For more information see:
https://issues.apache.org/jira/browse/SPARK-7726
parent 61f164d3
No related branches found
No related tags found
No related merge requests found
...@@ -1799,9 +1799,9 @@ ...@@ -1799,9 +1799,9 @@
<property><name>scala-2.11</name></property> <property><name>scala-2.11</name></property>
</activation> </activation>
<properties> <properties>
<scala.version>2.11.6</scala.version> <scala.version>2.11.2</scala.version>
<scala.binary.version>2.11</scala.binary.version> <scala.binary.version>2.11</scala.binary.version>
<jline.version>2.12.1</jline.version> <jline.version>2.12</jline.version>
<jline.groupid>jline</jline.groupid> <jline.groupid>jline</jline.groupid>
</properties> </properties>
</profile> </profile>
......
...@@ -1129,7 +1129,7 @@ class SparkIMain(@BeanProperty val factory: ScriptEngineFactory, initialSettings ...@@ -1129,7 +1129,7 @@ class SparkIMain(@BeanProperty val factory: ScriptEngineFactory, initialSettings
def apply(line: String): Result = debugging(s"""parse("$line")""") { def apply(line: String): Result = debugging(s"""parse("$line")""") {
var isIncomplete = false var isIncomplete = false
currentRun.parsing.withIncompleteHandler((_, _) => isIncomplete = true) { currentRun.reporting.withIncompleteHandler((_, _) => isIncomplete = true) {
reporter.reset() reporter.reset()
val trees = newUnitParser(line).parseStats() val trees = newUnitParser(line).parseStats()
if (reporter.hasErrors) Error if (reporter.hasErrors) Error
......
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