3dfcb641c0
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 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
post-install.d | ||
pre-install.d | ||
README.rst | ||
element-deps | ||
package-installs.yaml |
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.