[ https://issues.apache.org/jira/browse/SPARK-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-6960. ------------------------------ Resolution: Not A Problem This is narrowly about the docs build, right? So, two of the files in questions are only part of the docs build. The docs aren't specific to a Scala version, so yes you can say the dev build hard-codes references to Spark's Scala 2.10 artifacts, which is different from producing Spark artifacts that work with Scala 2.11 at runtime. That's therefore probably as intended. The release process builds docs after the 2.10 artifacts are built and that works. I don't see evidence that the docs build itself doesn't run with Scala 2.11, but I'm not entirely sure what to make of the plugin message. Could be more of the same, or means some clean compile is needed. There is a script to change references from 2.10 to 2.11 and back for Scala 2.11 support, which wasn't used here, but it would not have changed these refs. > Hardcoded scala version in multiple files. SparkluginBuild.scala, as well as > docs/ with self-deprecating comment. > ----------------------------------------------------------------------------------------------------------------- > > Key: SPARK-6960 > URL: https://issues.apache.org/jira/browse/SPARK-6960 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 1.3.0 > Reporter: Michah Lerner > Priority: Minor > > Hard-coded value scala version 2.10 in multiple files, including: > docs/_plugins/copy_api_dirs.rb, docs/_config.yml and > spark-1.3.0/project/project/SparkPluginBuild.scala. > [error] /path/spark-1.3.0/project/project/SparkPluginBuild.scala:33: can't > expand macros compiled by previous versions of Scala > The following generally builds successfully, except when the "-Pnetlib-lgpl" > option is added to the mvn build, provided there is a manual edit of the > scala version. > mvn -Dscala-2.11 -Pyarn -Phadoop-2.4 -DskipTests clean package > sbt -Pyarn -Phadoop-2.4 -Dscala-2.11 unidoc > cd docs > jekyll b -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org