From ff1dbf210691988cbe8b09aafa37815060fdd7ac Mon Sep 17 00:00:00 2001 From: Evan Chan Date: Fri, 6 Sep 2013 14:20:44 -0700 Subject: Add references to make-distribution.sh --- docs/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/index.md') diff --git a/docs/index.md b/docs/index.md index 7d73929940..ee82c207d7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,6 +21,9 @@ Spark uses [Simple Build Tool](http://www.scala-sbt.org), which is bundled with 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/). +Note: if you are building a binary distribution using `./make-distribution.sh`, you will not need to run +`sbt/sbt assembly`. + # Testing the Build Spark comes with several sample programs in the `examples` directory. @@ -46,6 +49,11 @@ Spark supports several options for deployment: * [Apache Mesos](running-on-mesos.html) * [Hadoop YARN](running-on-yarn.html) +There is a script, `./make-distribution.sh`, which will create a binary distribution of Spark for deployment +to any machine with only the Java runtime as a necessary dependency. +Running the script creates a distribution directory in `dist/`, or the `-tgz` option to create a .tgz file. +Check the script for additional options. + # A Note About Hadoop Versions Spark uses the Hadoop-client library to talk to HDFS and other Hadoop-supported -- cgit v1.2.3