From 95937e01cd2287c01206e060e6c0e9c6682570ed Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Thu, 6 Jul 2017 07:31:08 +0000 Subject: [PATCH] Minor doc change. --- docs/structured-streaming-kafka-integration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/structured-streaming-kafka-integration.md b/docs/structured-streaming-kafka-integration.md index 217c1a91a16f3..bab0be8ddeb9f 100644 --- a/docs/structured-streaming-kafka-integration.md +++ b/docs/structured-streaming-kafka-integration.md @@ -15,6 +15,8 @@ For Scala/Java applications using SBT/Maven project definitions, link your appli For Python applications, you need to add this above library and its dependencies when deploying your application. See the [Deploying](#deploying) subsection below. +For experimenting on `spark-shell`, you need to add this above library and its dependencies too when invoking `spark-shell`. Also see the [Deploying](#deploying) subsection below. + ## Reading Data from Kafka ### Creating a Kafka Source for Streaming Queries @@ -607,5 +609,9 @@ and its dependencies can be directly added to `spark-submit` using `--packages`, ./bin/spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_{{site.SCALA_BINARY_VERSION}}:{{site.SPARK_VERSION_SHORT}} ... +For experimenting on `spark-shell`, you can also use `--packages` to add `spark-sql-kafka-0-10_{{site.SCALA_BINARY_VERSION}}` and its dependencies directly, + + ./bin/spark-shell --packages org.apache.spark:spark-sql-kafka-0-10_{{site.SCALA_BINARY_VERSION}}:{{site.SPARK_VERSION_SHORT}} ... + See [Application Submission Guide](submitting-applications.html) for more details about submitting applications with external dependencies.