sahara-image-elements/elements/hadoop-hdp
Pino Toscano 2fb2422da8 Make almost all the element scripts as e/u/pipefail
Following the latest dib-lint reporting, make sure almost all the
scripts are enabling -e, -u, and pipefail.  This eases the discovery of
failing commands, and the usage of unset variables.

There are few exceptions with flags not set:

* elements/hadoop-hdp/install.d/40-install-hdp, set -e
  when installing HDP 2.0, it tries to install tez, which does not seem
  to exist in Hortonworks' repositories

* elements/ssh/install.d/33-ssh, set -e
  the version of augtool (part of augeas 0.10) in older Ubuntu versions
  (like Precise, needed by the cloudera plugin) exits with wrong return
  values in autosave mode

* elements/storm/install.d/60-storm, set -e
  It tries to change the permission of /etc/supervisord.conf, which does
  not seem to exist

Change-Id: Ic1314639dfc6a66c48ca87b6820707a2b0cb1dbd
Partial-Bug: #1435306
2015-04-07 12:46:39 +02:00
..
install.d Make almost all the element scripts as e/u/pipefail 2015-04-07 12:46:39 +02:00
post-install.d Make almost all the element scripts as e/u/pipefail 2015-04-07 12:46:39 +02:00
README.rst Add/fix headers in README.rst files 2015-04-02 18:15:30 +02:00
element-deps Sort projects in elements-deps 2015-04-02 19:34:18 +03:00
source-repository-ambari-updates Adds Hortonworks Data Platform element to savanna-image-elements 2014-02-21 13:25:13 +04:00
source-repository-hadoopswift Updates hadoop-hdp to use new project name in URL 2014-04-08 11:38:36 -04:00
source-repository-hdputils Adds Hortonworks Data Platform element to savanna-image-elements 2014-02-21 13:25:13 +04:00

README.rst

hadoop-hdp

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