diff options
author | Holden Karau <holden@pigscanfly.ca> | 2014-01-05 22:05:30 -0800 |
---|---|---|
committer | Holden Karau <holden@pigscanfly.ca> | 2014-01-05 22:05:30 -0800 |
commit | d86dc74d796121b61ff43c632791c52dd49ff8ad (patch) | |
tree | b04601ff15a651093d3a00e54c8f0e4630c72505 /docs/index.md | |
parent | df92f1c0254dc9073c18bc7b76f8b9523ecd7cec (diff) | |
download | spark-d86dc74d796121b61ff43c632791c52dd49ff8ad.tar.gz spark-d86dc74d796121b61ff43c632791c52dd49ff8ad.tar.bz2 spark-d86dc74d796121b61ff43c632791c52dd49ff8ad.zip |
Code review feedback
Diffstat (limited to 'docs/index.md')
-rw-r--r-- | docs/index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/index.md b/docs/index.md index bf8d1c3375..86d574daaa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,7 +17,7 @@ Spark runs on both Windows and UNIX-like systems (e.g. Linux, Mac OS). All you n Spark uses [Simple Build Tool](http://www.scala-sbt.org), which is bundled with it. To compile the code, go into the top-level Spark directory and run - sbt assembly + sbt/sbt assembly For its Scala API, Spark {{site.SPARK_VERSION}} depends on Scala {{site.SCALA_VERSION}}. If you write applications in Scala, you will need to use this same version of Scala in your own program -- newer major versions may not work. You can get the right version of Scala from [scala-lang.org](http://www.scala-lang.org/download/). @@ -56,12 +56,12 @@ Hadoop, you must build Spark against the same version that your cluster uses. By default, Spark links to Hadoop 1.0.4. You can change this by setting the `SPARK_HADOOP_VERSION` variable when compiling: - SPARK_HADOOP_VERSION=2.2.0 sbt assembly + SPARK_HADOOP_VERSION=2.2.0 sbt/sbt assembly In addition, if you wish to run Spark on [YARN](running-on-yarn.html), set `SPARK_YARN` to `true`: - SPARK_HADOOP_VERSION=2.0.5-alpha SPARK_YARN=true sbt assembly + SPARK_HADOOP_VERSION=2.0.5-alpha SPARK_YARN=true sbt/sbt assembly Note that on Windows, you need to set the environment variables on separate lines, e.g., `set SPARK_HADOOP_VERSION=1.2.1`. |