sahara-image-elements/elements/spark
Pino Toscano 55a21cd746 Adopt DIB_DEBUG_TRACE for tracing in elements
Mimic commit 36b59c001c1643217449646b371df46d2cb11b91 in
diskimage-builder, by adopting the usage of $DIB_DEBUG_TRACE to check
whether enable tracing in scripts.

Unlike with the diskimage-builder commit, the default is to not enable
tracing even in the few scripts that used to unconditionally "set -x".

Enabling tracing can be done by either:
- passing -x to disk-image-create
- exporting DIB_DEBUG_TRACE=N, with N=0/1

Change-Id: I56ccd6753df31f7ddda641640cdb1985b2d9e856
Partial-Bug: #1435306
2015-03-23 20:12:41 +01:00
..
install.d Adopt DIB_DEBUG_TRACE for tracing in elements 2015-03-23 20:12:41 +01:00
post-install.d Adopt DIB_DEBUG_TRACE for tracing in elements 2015-03-23 20:12:41 +01:00
root.d Adopt DIB_DEBUG_TRACE for tracing in elements 2015-03-23 20:12:41 +01:00
element-deps Add a Spark element 2014-02-06 11:48:54 +01:00
README.md Update Spark element 2014-05-05 08:52:36 +02:00

Installs Spark on Ubuntu. Requires Hadoop CDH 4 (hadoop-cdh element).

It will install a version of Spark known to be compatible with CDH 4 This behaviour can be controlled also by using 'DIB_SPARK_VERSION' or directly with 'SPARK_DOWNLOAD_URL'

If you set 'SPARK_CUSTOM_DISTRO' to 1, you can point the 'SPARK_DOWNLOAD_URL' variable to a custom Spark distribution created with the make-distribution.sh script included in Spark.