45b298a581
In some cases unsafe if conditions can produce errors. Quotes should be used to avoid problems with empty variables Change-Id: Ia977bfa570ff9c3703a1a2dd370e1be0bf1b7a85 Closes-bug: #1463144 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
post-install.d | ||
root.d | ||
element-deps | ||
package-installs.yaml | ||
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] [-r 3.1.1|4.0.1|4.0.2]
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-v4.0.1GA.deb.tgz"
export DIB_MAPR_CORE_RPM_REPO="file://<path-to-archive>/mapr-v4.0.1GA.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 4.0.1
Environment Variables
- DIB_MAPR_VERSION
-
- Required
-
Yes
- Description
-
Version of MapR to install.
- Example
-
DIB_MAPR_VERSION=4.0.1