Skip to content

Commit cd42d94

Browse files
committed
Update doc
1 parent f6644c3 commit cd42d94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/building-spark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ mvn -Pyarn -Phive -Phive-thriftserver-0.12.0 -Phadoop-2.4 -Dhadoop.version=2.4.0
113113
{% endhighlight %}
114114

115115
# Building for Scala 2.11
116-
To produce a Spark package compiled with Scala 2.11, use the `-Pscala-2.11` profile:
116+
To produce a Spark package compiled with Scala 2.11, use the `-Dscala-2.11` property:
117117

118-
mvn -Pyarn -Phadoop-2.4 -Pscala-2.11 -DskipTests clean package
118+
mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package
119119

120120
Scala 2.11 support in Spark is experimental and does not support a few features.
121121
Specifically, Spark's external Kafka library and JDBC component are not yet

0 commit comments

Comments
 (0)