sahara-image-elements/elements/hadoop-cloudera
Luigi Toscano 3dfcb641c0 Set DIB_CDH_MINOR_VERSION when required
Set DIB_CDH_MINOR_VERSION in diskimage-create so that it could not
be an empty value. The order of the lines where DIB_CDH_VERSION is
assigned for other CDH versions where DIB_CDH_MINOR_VERSION is not
used was changed as well for consistency.
Also, in order to try to prevent future errors, set the value of
DIB_CDH_MINOR_VERSION based on DIB_CDH_VERSION in all elements where
it is used (thanks to the ${VAR:-value} syntax which does not fail
with set -u even if DIB_CDH_MINOR_VERSION is not assigned).

Closes-Bug: #1657482
Change-Id: I31b25fd4ba886d051b9b57902cd72349a4a2dbfa
2017-01-19 19:46:57 +01:00
..
environment.d Fix pep8 issues (environment file should not be executable) 2016-12-21 11:31:23 +04:00
install.d Set DIB_CDH_MINOR_VERSION when required 2017-01-19 19:46:57 +01:00
post-install.d Make almost all the element scripts as e/u/pipefail 2015-04-07 12:46:39 +02:00
pre-install.d Set DIB_CDH_MINOR_VERSION when required 2017-01-19 19:46:57 +01:00
README.rst Add Kafka 2.0.2 to CDH 5.5 and 5.7 2016-08-16 19:12:26 +03:00
element-deps Setup JAVA_HOME for cloudera java distro 2016-07-20 19:40:08 +03:00
package-installs.yaml Use Cloudera element for Spark HDFS 2015-07-10 14:12:37 +00:00

README.rst

hadoop-cloudera

Installs cloudera (cloudera-manager-agent cloudera-manager-daemons cloudera-manager-server cloudera-manager-server-db-2 hadoop-hdfs-namenode hadoop-hdfs-secondarynamenode hadoop-hdfs-datanode hadoop-yarn-resourcemanager hadoop-yarn-nodemanager hadoop-mapreduce hadoop-mapreduce-historyserver) and Java (oracle-j2sdk1.7) packages from cloudera repositories: cdh5 and cm5.

Also installs Cloudera distribution of Apache Kafka for CDH version >= 5.5 from Cloudera repository: kafka.

In order to create the Cloudera images with diskimage-create.sh, use the following syntax to select the cloudera plugin:

diskimage-create.sh -p cloudera

Environment Variables

The element can be configured by exporting variables using a environment.d script.

DIB_CDH_HDFS_ONLY
Required

No

Description

If set will install only the namenode and datanode packages with their dependencies.

DIB_CDH_MINOR_VERSION
Required

No

Description

If set will install minor version of CDH. Available minor versions are 5.7.x.