From d5167ed3dd3ce87a8904c2444eaf6c839ea541d3 Mon Sep 17 00:00:00 2001 From: wangyu Date: Thu, 24 May 2018 16:06:47 +0800 Subject: [PATCH 1/2] git config --global user.email "wangyu@cmss.chinamobile.com" git config --global user.name "gentlewangyu" --- docs/building-spark.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building-spark.md b/docs/building-spark.md index 14164f16c08d..2eb4cbb7533e 100644 --- a/docs/building-spark.md +++ b/docs/building-spark.md @@ -92,10 +92,10 @@ like ZooKeeper and Hadoop itself. ./build/mvn -Pmesos -DskipTests clean package ## Building for Scala 2.10 -To produce a Spark package compiled with Scala 2.10, use the `-Dscala-2.10` property: +To produce a Spark package compiled with Scala 2.10, use the `-Pscala-2.10` property: ./dev/change-scala-version.sh 2.10 - ./build/mvn -Pyarn -Dscala-2.10 -DskipTests clean package + ./build/mvn -Pyarn -scala-2.10 -DskipTestsP clean package Note that support for Scala 2.10 is deprecated as of Spark 2.1.0 and may be removed in Spark 2.2.0. From bf6b8011abcc9c82e941d7aeceb127f128aecbb0 Mon Sep 17 00:00:00 2001 From: Yu Wang Date: Fri, 25 May 2018 09:08:02 +0800 Subject: [PATCH 2/2] Update building-spark.md --- docs/building-spark.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building-spark.md b/docs/building-spark.md index 2eb4cbb7533e..7c56280f1ce7 100644 --- a/docs/building-spark.md +++ b/docs/building-spark.md @@ -95,7 +95,7 @@ like ZooKeeper and Hadoop itself. To produce a Spark package compiled with Scala 2.10, use the `-Pscala-2.10` property: ./dev/change-scala-version.sh 2.10 - ./build/mvn -Pyarn -scala-2.10 -DskipTestsP clean package + ./build/mvn -Pyarn -Pscala-2.10 -DskipTests clean package Note that support for Scala 2.10 is deprecated as of Spark 2.1.0 and may be removed in Spark 2.2.0.