Repository: spark Updated Branches: refs/heads/branch-1.4 7e3f9fea6 -> 1fc35607d
[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 <[email protected]> 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 1fd33815f47478f5f2e8b55b90757819b8cb5247) Signed-off-by: Sean Owen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1fc35607 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1fc35607 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1fc35607 Branch: refs/heads/branch-1.4 Commit: 1fc35607d77474edb598aa55196c60555473c764 Parents: 7e3f9fe Author: Sean Owen <[email protected]> Authored: Sat May 16 08:18:41 2015 +0100 Committer: Sean Owen <[email protected]> Committed: Sat May 16 08:18:50 2015 +0100 ---------------------------------------------------------------------- docs/building-spark.md | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/1fc35607/docs/building-spark.md ---------------------------------------------------------------------- diff --git a/docs/building-spark.md b/docs/building-spark.md index 6e310ff..4dbccb9 100644 --- a/docs/building-spark.md +++ b/docs/building-spark.md @@ -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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
