sahara-image-elements/elements/hadoop-mapr
Denis Egorenko db50f5ba97 Check distro name from DISTRO_NAME
Use default 'DISTRO_NAME' variable for check which distro is use
for current image build

Change-Id: Ieba71733fbcd554a1c7416efb0c4b740939d06a8
Closes-bug: #1436807
2015-03-27 17:09:35 +04:00
..
install.d Check distro name from DISTRO_NAME 2015-03-27 17:09:35 +04:00
post-install.d Check distro name from DISTRO_NAME 2015-03-27 17:09:35 +04:00
root.d Adopt DIB_DEBUG_TRACE for tracing in elements 2015-03-23 20:12:41 +01:00
element-deps mapr: use disable-firewall only on centos 2015-03-05 12:42:28 +01:00
README.rst Image Elements for MapR 2014-11-28 14:57:34 +02:00

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

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

sudo bash diskimage-create.sh -p mapr [-i ubuntu4.0.1]

NOTE: By default MapR 4.0.1 version will be used

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

For example: .. sourcecode:: bash

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" sudo -E bash diskimage-create.sh -p mapr -r 4.0.1