From f8fcc522ae067b0f6ad66901bb809fa8f5660d26 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Sat, 2 Mar 2019 15:24:18 -0600 Subject: [PATCH] Clarify that Spark apps should mark Spark as a 'provided' dependency, not package it --- docs/cloud-integration.md | 1 + docs/quick-start.md | 1 + docs/streaming-programming-guide.md | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/cloud-integration.md b/docs/cloud-integration.md index 5368e13727334..a014d6fe0bf92 100644 --- a/docs/cloud-integration.md +++ b/docs/cloud-integration.md @@ -87,6 +87,7 @@ is set to the chosen version of Spark: org.apache.spark hadoop-cloud_{{site.SCALA_BINARY_VERSION}} ${spark.version} + provided ... diff --git a/docs/quick-start.md b/docs/quick-start.md index 28186c11887fc..8bf0d6ee6bba8 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -341,6 +341,7 @@ Note that Spark artifacts are tagged with a Scala version. org.apache.spark spark-sql_{{site.SCALA_BINARY_VERSION}} {{site.SPARK_VERSION}} + provided diff --git a/docs/streaming-programming-guide.md b/docs/streaming-programming-guide.md index 94c61205bd53b..30a0160a650e0 100644 --- a/docs/streaming-programming-guide.md +++ b/docs/streaming-programming-guide.md @@ -385,11 +385,12 @@ Similar to Spark, Spark Streaming is available through Maven Central. To write y org.apache.spark spark-streaming_{{site.SCALA_BINARY_VERSION}} {{site.SPARK_VERSION}} + provided
- libraryDependencies += "org.apache.spark" % "spark-streaming_{{site.SCALA_BINARY_VERSION}}" % "{{site.SPARK_VERSION}}" + libraryDependencies += "org.apache.spark" % "spark-streaming_{{site.SCALA_BINARY_VERSION}}" % "{{site.SPARK_VERSION}}" % "provided"