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
..

Installs the JDK, the Hortonworks Data Platform, and Apache Ambari.

Please set the DIB_HDP_VERSION environment variable to configure the install to use a given version. The default script (mentioned below) sets this variable for each supported version.

Currently, the following versions of the Hortonworks Data Platform are supported for image building:

1.3 2.0

The following script:

sahara-image-elements/diskimage-create/diskimage-create.sh

is the default script to use for creating CentOS images with HDP installed/configured. This script can be used without modification, or can be used as an example to describe how a more customized script may be created with the "hadoop-hdp" diskimage-builder element.

In order to create the HDP images with the diskimage-create.sh script, use the following syntax to select the "hdp" plugin:

diskimage-create.sh -p hdp