83c3011f69
The structure of the page changed slightly between July 8th and now (thanks Internet Archive). Adapt the extraction code. including a more robust regex. Also update the download location (lightbend.com instead of typesafe.com, even if the latter is still a redirect). Finally, expose a new variable which allows users to force a specific version of Scala, disabling the autodetection. This is useful to workaround possible future similar breakages without changing the code. Closes-Bug: #1704337 Change-Id: Ib105d08816d6833f05301e59f64163de5f070109 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
post-install.d | ||
resources | ||
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|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
- SCALA_VERSION
-
- Required
-
No
- Description
-
Force a specific version of Scala (disable autodetection).
- Example
-
SCALA_VERSION=2.12.2