Add support of building images for MapR 5.1.0

Change-Id: I2983604ab081e025a0aff5056305e9a0958eb344
Implements: blueprint add-mapr-510
Depends-On: Ibeeb6106480b759814b22ba9da5cc4fdb2ff162e
This commit is contained in:
groghkov 2016-03-01 19:57:03 +02:00 committed by Evgeny Sikachev
parent b8c1d80d43
commit 21162980ac
4 changed files with 57 additions and 10 deletions

View File

@ -10,7 +10,7 @@ unset DIB_IMAGE_SIZE
DEBUG_MODE="false"
# The default version for a MapR plugin
DIB_DEFAULT_MAPR_VERSION="5.0.0"
DIB_DEFAULT_MAPR_VERSION="5.1.0"
# The default version for Spark plugin
DIB_DEFAULT_SPARK_VERSION="1.6.0"
@ -30,7 +30,7 @@ usage() {
echo " [-p vanilla|spark|hdp|cloudera|storm|mapr|ambari|plain]"
echo " [-i ubuntu|fedora|centos|centos7]"
echo " [-v 2|2.6|2.7.1|4|5.0|5.3|5.4|5.5]"
echo " [-r 5.0.0]"
echo " [-r 5.0.0|5.1.0]"
echo " [-s 1.3.1|1.6.0]"
echo " [-d]"
echo " [-u]"
@ -269,7 +269,7 @@ case "$PLUGIN" in
echo "${DIB_DEFAULT_MAPR_VERSION} version would be used"
DIB_MAPR_VERSION=${DIB_DEFAULT_MAPR_VERSION}
;;
"5.0.0");;
"5.0.0" | "5.1.0");;
*)
echo -e "Unknown MapR version.\nExit"
exit 1

View File

@ -13,7 +13,7 @@ following syntax to select the ``MapR`` plugin:
.. sourcecode:: bash
diskimage-create.sh -p mapr [-i ubuntu|centos] [-r 5.0.0]
diskimage-create.sh -p mapr [-i ubuntu|centos] [-r 5.0.0 | 5.1.0]
In order to speed up image creation process you can download archives with MapR
repositories and specify environment variables:
@ -24,11 +24,11 @@ For example:
.. sourcecode:: bash
export DIB_MAPR_CORE_DEB_REPO="file://<path-to-archive>/mapr-v5.0.0GA.deb.tgz"
export DIB_MAPR_CORE_RPM_REPO="file://<path-to-archive>/mapr-v5.0.0GA.rpm.tgz"
export DIB_MAPR_CORE_DEB_REPO="file://<path-to-archive>/mapr-v5.1.0GA.deb.tgz"
export DIB_MAPR_CORE_RPM_REPO="file://<path-to-archive>/mapr-v5.1.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.0.0
diskimage-create.sh -p mapr -r 5.1.0
Environment Variables
---------------------
@ -36,4 +36,4 @@ Environment Variables
DIB_MAPR_VERSION
:Required: Yes
:Description: Version of MapR to install.
:Example: ``DIB_MAPR_VERSION=5.0.0``
:Example: ``DIB_MAPR_VERSION=5.1.0``

View File

@ -17,13 +17,13 @@ get_repo_url() {
if [ "$DISTRO_NAME" = "ubuntu" ]; then
case "$DIB_MAPR_VERSION" in
"5.0.0")
"5.0.0"|"5.1.0")
repo_url="${DIB_MAPR_ECO_DEB_REPO:-http://package.mapr.com/releases/ecosystem-5.x/ubuntu binary/}"
;;
esac
elif [ "$DISTRO_NAME" = "centos" -o "$DISTRO_NAME" = "rhel" ]; then
case "$DIB_MAPR_VERSION" in
"5.0.0")
"5.0.0"|"5.1.0")
repo_url="${DIB_MAPR_ECO_RPM_REPO:-http://package.mapr.com/releases/ecosystem-5.x/redhat}"
;;
esac

View File

@ -0,0 +1,47 @@
{
"drill": [
"1.1.0",
"1.2.0",
"1.4.0"
],
"flume": [
"1.5.0",
"1.6.0"
],
"hbase": [
"0.98.9",
"0.98.12"
],
"hive": [
"0.13",
"1.0",
"1.2"
],
"httpfs": [
"1.0"
],
"hue": [
"3.7.0",
"3.8.1",
"3.9.0"
],
"impala": [
"1.4.1"
],
"mahout": [
"0.10.0"
],
"oozie": [
"4.2.0"
],
"pig": [
"0.14",
"0.15"
],
"sqoop": [
"2.0.0"
],
"spark": [
"1.5.2"
]
}