diff options
author | Michael McCune <msm@redhat.com> | 2017-03-01 00:07:16 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2017-03-01 00:07:16 +0100 |
commit | bf5987cbe6c9f4a1a91d912ed3a9098111632d1a (patch) | |
tree | 11e040ff2fc1b8d06b42cf539ba5cd0e8686124c /docs/quick-start.md | |
parent | d743ea4c767ef700b5e921c9473bc564de94a870 (diff) | |
download | spark-bf5987cbe6c9f4a1a91d912ed3a9098111632d1a.tar.gz spark-bf5987cbe6c9f4a1a91d912ed3a9098111632d1a.tar.bz2 spark-bf5987cbe6c9f4a1a91d912ed3a9098111632d1a.zip |
[SPARK-19769][DOCS] Update quickstart instructions
## What changes were proposed in this pull request?
This change addresses the renaming of the `simple.sbt` build file to
`build.sbt`. Newer versions of the sbt tool are not finding the older
named file and are looking for the `build.sbt`. The quickstart
instructions for self-contained applications is updated with this
change.
## How was this patch tested?
As this is a relatively minor change of a few words, the markdown was checked for syntax and spelling. Site was built with `SKIP_API=1 jekyll serve` for testing purposes.
Author: Michael McCune <msm@redhat.com>
Closes #17101 from elmiko/spark-19769.
Diffstat (limited to 'docs/quick-start.md')
-rw-r--r-- | docs/quick-start.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick-start.md b/docs/quick-start.md index 04ac278762..aa4319a233 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -260,7 +260,7 @@ object which contains information about our application. Our application depends on the Spark API, so we'll also include an sbt configuration file, -`simple.sbt`, which explains that Spark is a dependency. This file also adds a repository that +`build.sbt`, which explains that Spark is a dependency. This file also adds a repository that Spark depends on: {% highlight scala %} @@ -273,7 +273,7 @@ scalaVersion := "{{site.SCALA_VERSION}}" libraryDependencies += "org.apache.spark" %% "spark-core" % "{{site.SPARK_VERSION}}" {% endhighlight %} -For sbt to work correctly, we'll need to layout `SimpleApp.scala` and `simple.sbt` +For sbt to work correctly, we'll need to layout `SimpleApp.scala` and `build.sbt` according to the typical directory structure. Once that is in place, we can create a JAR package containing the application's code, then use the `spark-submit` script to run our program. @@ -281,7 +281,7 @@ containing the application's code, then use the `spark-submit` script to run our # Your directory layout should look like this $ find . . -./simple.sbt +./build.sbt ./src ./src/main ./src/main/scala |