Commit Graph

17 Commits

Author SHA1 Message Date
Telles Nobrega 34e8f4a27a Updating Storm version list
We are adding Storm 1.2.0 and 1.2.1 and removing 0.9.2

Change-Id: I7e82464dda5d7d9f03e634eef814c63b661bb0c4
2018-07-12 15:24:42 -03:00
Jeremy Freudberg c450ba9b18 Build Xenial images for Vanilla and Storm
Support for Ubuntu 16.04 is simple. Implement this and make it the
default building behavior.

Change-Id: I0e0f279afb88521f119365c2ea2cb9ce6320f58a
2017-07-19 19:49:17 +00:00
Telles Nobrega 5e1f45c373 Adding ability to create Storm 1.1.0 image
Change-Id: I5d0c5c600fda5d54d2b6bb8cac9b0f44c24f691a
2017-04-12 09:48:08 -03:00
Telles Nobrega 3b3559f062 Install Pyleus to Storm image
Installing pyleus to Storm image

Change-Id: I0e8cfc4a122a2b49891aaa0bfe4ce1cfde1a69b1
2016-07-14 19:30:37 -03:00
Telles Nobrega ac40a25b3a Allow creation of Storm 1.0.1 images
On the process of upgrading Storm to version 1.0.1 we need to provide
images for the cluster. This patch allows the creation of Storm images
using 1.0.1 version as well as 0.9.2. The default value is set to 1.0.1

Change-Id: I5fbe0c194d83aba1fc09f26bc259c59c4f8a27ce
Partially-implements: blueprint upgrade-storm-1-0-1
2016-06-29 09:35:48 -03:00
Sergey Reshetnyak 4fd100a036 Add dib-lint checks for elements
Also dib-lint errors fixed or skipped

Change-Id: I74a386bf7d13203df9e93b6469384648df2ac389
2015-07-06 13:03:12 +03:00
Pino Toscano 36db653bec storm: install supervisor using package-installs
Change-Id: Ida7260d30ac5ba0fe1a1c48b9ef6389c62178823
2015-05-18 17:08:28 +02:00
Pino Toscano c8cbe25f1b Start switching to declarative package-installs
Make use of the package-installs element to declare in yaml format the
packages to be installed at the beginning of a phase.

Other than reducing the amont of explicit 'install-packages pkg1 ...'
invocations, they can also be installed just once per-phase.

Change-Id: I1f1acfb2bd74fed5cf4c0b48bc739f7f75c35d83
2015-04-15 00:44:54 +08:00
Telles Nobrega da9ef38bc8 Change supervisor conf file path
Supervisor conf file path is used as /etc/supervisord.conf and it should
be /etc/supervisor/supervisord.conf

Change-Id: I756124ee9c6ffac9c477e645b92fba08a7099940
Closes-bug: 1441293
2015-04-07 15:16:56 -03:00
Jenkins 69e110c6fa Merge "Make almost all the element scripts as e/u/pipefail" 2015-04-07 16:37:24 +00:00
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
Pino Toscano f2fac65cc4 Start caching large-sized resources
Use the cache-url script (in the element cache-url) to download and
cache resources which might be expensive (mostly because of their size)
to fetch every time.
As the shared cache ($DIB_IMAGE_CACHE) is available only when running
the root.d elements, move the download phases to root.d scripts.

Change-Id: Iec3e0f92e62c4c9542487a3c228ba8f9e884e5dd
2015-04-03 15:45:16 +02:00
Pino Toscano 7d189ed603 Handle most of unbound variables usages
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
2015-04-01 15:46:10 +02:00
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
Telles Nobrega f75384c1d3 Remove ZeroMQ installation
ZeroMQ is not necessary anymore for Storm. Without ZeroMQ the default
Netty is used for messaging.

Closes-bug: #1390446
Change-Id: Iff91dfc96d9644087f0b32c1ce694c20d9e14d3a
2014-11-07 09:27:48 -03:00
Sergey Reshetnyak 59cd245f13 Fix bashate errors
Change-Id: Icee255fc3393bad79ca02457395170af42c61a32
2014-10-14 12:49:42 +04:00
Telles Nobrega 43d18bf020 Adding Storm and Zookeeper elements
This patch implements storm element and zookeeper.
They are both needed by storm plugin.

Change-Id: If279457b8f2b0fc18dca031afa979d0485bbbd81
Partial-implements: blueprint storm-integration
2014-08-04 08:49:16 -03:00