diff options
author | Takuya UESHIN <ueshin@happy-camper.st> | 2014-11-30 00:10:31 -0500 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-11-30 00:10:31 -0500 |
commit | 0fcd24cc542040ff3555290eec7b021062e7e6ac (patch) | |
tree | 6c8bc1d2437520ee61ec8b25254a30d7d8a60a6b /docs | |
parent | 4316a7b0103977a2a1547e28cd04c842d9839f1e (diff) | |
download | spark-0fcd24cc542040ff3555290eec7b021062e7e6ac.tar.gz spark-0fcd24cc542040ff3555290eec7b021062e7e6ac.tar.bz2 spark-0fcd24cc542040ff3555290eec7b021062e7e6ac.zip |
[DOCS][BUILD] Add instruction to use change-version-to-2.11.sh in 'Building for Scala 2.11'.
To build with Scala 2.11, we have to execute `change-version-to-2.11.sh` before Maven execute, otherwise inter-module dependencies are broken.
Author: Takuya UESHIN <ueshin@happy-camper.st>
Closes #3361 from ueshin/docs/building-spark_2.11 and squashes the following commits:
1d29126 [Takuya UESHIN] Add instruction to use change-version-to-2.11.sh in 'Building for Scala 2.11'.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/building-spark.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/building-spark.md b/docs/building-spark.md index 40a47410e6..6cca2da8e8 100644 --- a/docs/building-spark.md +++ b/docs/building-spark.md @@ -118,6 +118,7 @@ mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-0.12.0 -Phive-thrif # Building for Scala 2.11 To produce a Spark package compiled with Scala 2.11, use the `-Dscala-2.11` property: + dev/change-version-to-2.11.sh mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package Scala 2.11 support in Spark is experimental and does not support a few features. |