aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/_plugins/copy_api_dirs.rb2
-rw-r--r--docs/building-spark.md10
2 files changed, 5 insertions, 7 deletions
diff --git a/docs/_plugins/copy_api_dirs.rb b/docs/_plugins/copy_api_dirs.rb
index 174c202e37..f926d67e6b 100644
--- a/docs/_plugins/copy_api_dirs.rb
+++ b/docs/_plugins/copy_api_dirs.rb
@@ -37,7 +37,7 @@ if not (ENV['SKIP_API'] == '1')
# Copy over the unified ScalaDoc for all projects to api/scala.
# This directory will be copied over to _site when `jekyll` command is run.
- source = "../target/scala-2.10/unidoc"
+ source = "../target/scala-2.11/unidoc"
dest = "api/scala"
puts "Making directory " + dest
diff --git a/docs/building-spark.md b/docs/building-spark.md
index e1abcf1be5..975e1b295c 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -114,13 +114,11 @@ By default Spark will build with Hive 0.13.1 bindings.
mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-thriftserver -DskipTests clean package
{% endhighlight %}
-# Building for Scala 2.11
-To produce a Spark package compiled with Scala 2.11, use the `-Dscala-2.11` property:
+# Building for Scala 2.10
+To produce a Spark package compiled with Scala 2.10, use the `-Dscala-2.10` property:
- ./dev/change-scala-version.sh 2.11
- mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package
-
-Spark does not yet support its JDBC component for Scala 2.11.
+ ./dev/change-scala-version.sh 2.10
+ mvn -Pyarn -Phadoop-2.4 -Dscala-2.10 -DskipTests clean package
# Spark Tests in Maven