Also tweak Hive a bit and refer to artifacts in a new (but not totally
ideal) location.
Co-Authored-By: Jeremy Freudberg <jeremyfreudberg@gmail.com>
Change-Id: I3a25ee8c282849911089adf6c3593b1bb50fd067
we don't have vanilla 2.6.0 in supported list
in all current branches of sahara. we can
just drop that. if needed, stable/mitaka
branch should be used for building that image.
Change-Id: I81ed8209f2154f112fe7f6718029b84548793380
Drop support for generating vanilla/hadoop v1 images. This version is
deprecated in Sahara, and the support for going to be removed soon.
Partially-implements bp: drop-hadoop-1
Change-Id: I7b0d36d255a783057c7c5876017653e0f28f83de
New vanilla would contain following elements:
* 2.7.1 version of hadoop
* 4.2.0 version of oozie
Implements blueprint: support-vanilla-2-7-1
Depends-On: Iae884d9f044ba1fe64b6d4ff23fa6ebabdbb41d9
Change-Id: I4191d6bb7e323709cd14744df3d5c8695c1eddee
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
Make sure that, even when set -u, scripts can run handling unset
variables correctly.
All the changes involve variables optionally set by the user.
Change-Id: If74051fb5882eacdaa49ca7e35d2808f3989bd17
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
In recent versions, diskimage-builder aborts when two elements have
scripts in the same hook with the same filename. Since hive and oozie
are usually used/required by the element of a plugin, there will be at
least 2 or 3 root.d scripts named 0-check.
Give unique names to the hive and oozie scripts.
Change-Id: Ia85508615de4271dfc1de913b7eff2d36392c008
Closes-Bug: #1424715