Skip to content

Commit 0fcd24c

Browse files
ueshinpwendell
authored andcommitted
[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 <[email protected]> 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'.
1 parent 4316a7b commit 0fcd24c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/building-spark.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-0.12.0 -Phive-thrif
118118
# Building for Scala 2.11
119119
To produce a Spark package compiled with Scala 2.11, use the `-Dscala-2.11` property:
120120

121+
dev/change-version-to-2.11.sh
121122
mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package
122123

123124
Scala 2.11 support in Spark is experimental and does not support a few features.

0 commit comments

Comments
 (0)