[SPARK-4556] [BUILD] binary distribution assembly can't run in local mode

Add note on building a runnable distribution with make-distribution.sh

Author: Sean Owen <sowen@cloudera.com>

Closes #6186 from srowen/SPARK-4556 and squashes the following commits:

4002966 [Sean Owen] Add pointer to --help flag
9fa7883 [Sean Owen] Add note on building a runnable distribution with make-distribution.sh

(cherry picked from commit 1fd33815f4)
Signed-off-by: Sean Owen <sowen@cloudera.com>
This commit is contained in:
Sean Owen 2015-05-16 08:18:41 +01:00
parent 7e3f9fea65
commit 1fc35607d7

View file

@ -34,6 +34,16 @@ and in `project/SparkBuild.scala` add:
to the `sharedSettings` val. See also [this PR](https://github.com/apache/spark/pull/2883/files) if you are unsure of where to add these lines.
# Building a Runnable Distribution
To create a Spark distribution like those distributed by the
[Spark Downloads](http://spark.apache.org/downloads.html) page, and that is laid out so as
to be runnable, use `make-distribution.sh` in the project root directory. It can be configured
with Maven profile settings and so on like the direct Maven build. Example:
./make-distribution.sh --name custom-spark --tgz -Phadoop-2.4 -Pyarn
For more information on usage, run `./make-distribution.sh --help`
# Setting up Maven's Memory Usage