Github user aa8y commented on the pull request: https://github.com/apache/spark/pull/12653#issuecomment-214010191 I still feel like it is compiling with 2.11 looking at the output on the console. But it did fail, unable to resolve a library dependency, with the version set to 2.10 ``` > ./dev/change-scala-version.sh 2.10 ./dev/../assembly/pom.xml ... ./dev/../docs/_plugins/copy_api_dirs.rb ``` ``` > ./build/sbt -Pscala-2.10 clean compile Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 ... [info] Resolving org.scala-lang.modules#scala-async_2.11;0.9.1 ... ... [info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.2 ... ... [info] Packaging /Users/aallamsetty/code/spark-fork/mllib-local/target/scala-2.11/spark-mllib-local_2.11-2.0.0-SNAPSHOT.jar ... ... [info] Resolving org.scala-lang#jline;2.11.8 ... [warn] module not found: org.scala-lang#jline;2.11.8 [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/scala-lang/jline/2.11.8/jline-2.11.8.pom [warn] ==== Maven2 Local: tried [warn] file:/Users/aallamsetty/.m2/repository/org/scala-lang/jline/2.11.8/jline-2.11.8.pom [warn] ==== local: tried [warn] /Users/aallamsetty/.ivy2/local/org.scala-lang/jline/2.11.8/ivys/ivy.xml [info] Resolving jline#jline;2.12.1 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.scala-lang#jline;2.11.8: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [info] Resolving org.scala-lang#scala-library;2.11.8 ... [warn] [warn] Note: Unresolved dependencies path: [warn] org.scala-lang:jline:2.11.8 ((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76) [warn] +- org.apache.spark:spark-repl_2.11:2.0.0-SNAPSHOT [info] Resolving jline#jline;2.12.1 ... [info] Done updating. ... sbt.ResolveException: unresolved dependency: org.scala-lang#jline;2.11.8: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313) ... at java.lang.Thread.run(Thread.java:745) [error] (repl/*:update) sbt.ResolveException: unresolved dependency: org.scala-lang#jline;2.11.8: not found [error] Total time: 230 s, completed Apr 24, 2016 11:56:05 AM ``` which doesn't seem to be a problem when compiled with 2.11 in a similar manner. ``` > ./dev/change-scala-version.sh 2.11 ./dev/../assembly/pom.xml ... ./dev/../docs/_plugins/copy_api_dirs.rb ``` ``` > ./build/sbt -Pscala-2.11 clean compile Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 ... [warn] 81 warnings found [success] Total time: 193 s, completed Apr 24, 2016 12:00:06 PM ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org