sahara-image-elements/elements/hadoop-mapr
Luigi Toscano 2f30d6a3a7 Fix: DIB_RELEASE is not defined on CentOS
Otherwise an "unbound variable" error is thrown.

Change-Id: I1e29cce101e44fc82e27b5e7986101847be0da8d
2017-03-01 12:25:16 -05:00
..
environment.d Switch to the extjs element 2015-04-08 18:59:11 +02:00
install.d Fix: DIB_RELEASE is not defined on CentOS 2017-03-01 12:25:16 -05:00
post-install.d Adding rhel7 to elements checks 2016-09-20 17:28:02 -03:00
resources Remove support for MapR 5.0.0 images 2017-02-01 15:54:44 +00:00
root.d Make almost all the element scripts as e/u/pipefail 2015-04-07 12:46:39 +02:00
README.rst Remove support for MapR 5.0.0 images 2017-02-01 15:54:44 +00:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00

README.rst

hadoop-mapr

Creates images with local mirrors of MapR repositories: core and ecosystem. Installs OpenJDK and Scala.

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

diskimage-create.sh -p mapr [-i ubuntu|centos|centos7|rhel|rhel7] [-r 5.1.0 | 5.2.0]

In order to speed up image creation process you can download archives with MapR repositories and specify environment variables: DIB_MAPR_CORE_DEB_REPO, DIB_MAPR_CORE_RPM_REPO, DIB_MAPR_ECO_DEB_REPO, DIB_MAPR_ECO_RPM_REPO.

For example:

export DIB_MAPR_CORE_DEB_REPO="file://<path-to-archive>/mapr-v5.2.0GA.deb.tgz"
export DIB_MAPR_CORE_RPM_REPO="file://<path-to-archive>/mapr-v5.2.0GA.rpm.tgz"
export DIB_MAPR_ECO_DEB_REPO="http://<URL>/mapr-ecosystem.deb.tgz"
export DIB_MAPR_ECO_RPM_REPO="http://<URL>/mapr-ecosystem.rpm.tgz"
diskimage-create.sh -p mapr -r 5.2.0

Environment Variables

DIB_MAPR_VERSION
Required

Yes

Description

Version of MapR to install.

Example

DIB_MAPR_VERSION=5.2.0