diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 81aacc53..0325c82b 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -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 3.1.1|4.0.1|4.0.2|5.0.0]" + echo " [-r 5.0.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} ;; - "3.1.1" | "4.0.1" | "4.0.2" | "5.0.0");; + "5.0.0");; *) echo -e "Unknown MapR version.\nExit" exit 1 diff --git a/elements/hadoop-mapr/README.rst b/elements/hadoop-mapr/README.rst index e24d5b89..97653f37 100644 --- a/elements/hadoop-mapr/README.rst +++ b/elements/hadoop-mapr/README.rst @@ -13,7 +13,7 @@ following syntax to select the ``MapR`` plugin: .. sourcecode:: bash - diskimage-create.sh -p mapr [-i ubuntu|centos] [-r 3.1.1|4.0.1|4.0.2] + diskimage-create.sh -p mapr [-i ubuntu|centos] [-r 5.0.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:///mapr-v4.0.1GA.deb.tgz" - export DIB_MAPR_CORE_RPM_REPO="file:///mapr-v4.0.1GA.rpm.tgz" + export DIB_MAPR_CORE_DEB_REPO="file:///mapr-v5.0.0GA.deb.tgz" + export DIB_MAPR_CORE_RPM_REPO="file:///mapr-v5.0.0GA.rpm.tgz" export DIB_MAPR_ECO_DEB_REPO="http:///mapr-ecosystem.deb.tgz" export DIB_MAPR_ECO_RPM_REPO="http:///mapr-ecosystem.rpm.tgz" - diskimage-create.sh -p mapr -r 4.0.1 + diskimage-create.sh -p mapr -r 5.0.0 Environment Variables --------------------- @@ -36,4 +36,4 @@ Environment Variables DIB_MAPR_VERSION :Required: Yes :Description: Version of MapR to install. - :Example: ``DIB_MAPR_VERSION=4.0.1`` + :Example: ``DIB_MAPR_VERSION=5.0.0`` diff --git a/elements/hadoop-mapr/install.d/44-mapr-eco-repository b/elements/hadoop-mapr/install.d/44-mapr-eco-repository index 30664d22..5c317391 100755 --- a/elements/hadoop-mapr/install.d/44-mapr-eco-repository +++ b/elements/hadoop-mapr/install.d/44-mapr-eco-repository @@ -17,24 +17,12 @@ get_repo_url() { if [ "$DISTRO_NAME" = "ubuntu" ]; then case "$DIB_MAPR_VERSION" in - "3.1.1") - repo_url="${DIB_MAPR_ECO_DEB_REPO:-http://package.mapr.com/releases/ecosystem/ubuntu binary/}" - ;; - "4.0.1" | "4.0.2") - repo_url="${DIB_MAPR_ECO_DEB_REPO:-http://package.mapr.com/releases/ecosystem-4.x/ubuntu binary/}" - ;; "5.0.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 - "3.1.1") - repo_url="${DIB_MAPR_ECO_RPM_REPO:-http://package.mapr.com/releases/ecosystem/redhat}" - ;; - "4.0.1" | "4.0.2") - repo_url="${DIB_MAPR_ECO_RPM_REPO:-http://package.mapr.com/releases/ecosystem-4.x/redhat}" - ;; "5.0.0") repo_url="${DIB_MAPR_ECO_RPM_REPO:-http://package.mapr.com/releases/ecosystem-5.x/redhat}" ;; diff --git a/elements/hadoop-mapr/resources/spec_3.1.1.json b/elements/hadoop-mapr/resources/spec_3.1.1.json deleted file mode 100644 index ae6b9acb..00000000 --- a/elements/hadoop-mapr/resources/spec_3.1.1.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "drill": [ - "0.7.0", - "1.2.0" - ], - "flume": [ - "1.5.0" - ], - "hbase": [ - "0.94.24" - ], - "hive": [ - "0.13" - ], - "httpfs": [ - "1.0" - ], - "hue": [ - "3.6.0" - ], - "impala": [ - "1.2.3" - ], - "mahout": [ - "0.9" - ], - "oozie": [ - "4.0.1" - ], - "pig": [ - "0.13" - ], - "sqoop": [ - "2.0.0" - ] -} diff --git a/elements/hadoop-mapr/resources/spec_4.0.1.json b/elements/hadoop-mapr/resources/spec_4.0.1.json deleted file mode 100644 index d2e855f3..00000000 --- a/elements/hadoop-mapr/resources/spec_4.0.1.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "drill": [ - "0.7.0", - "1.2.0" - ], - "flume": [ - "1.5.0" - ], - "hbase": [ - "0.94.24", - "0.98.7" - ], - "hive": [ - "0.13" - ], - "httpfs": [ - "1.0" - ], - "hue": [ - "3.6.0" - ], - "impala": [ - "1.2.3" - ], - "mahout": [ - "0.9" - ], - "oozie": [ - "4.0.1" - ], - "pig": [ - "0.13" - ], - "spark": [ - "1.1.0" - ], - "sqoop": [ - "2.0.0" - ] -} diff --git a/elements/hadoop-mapr/resources/spec_4.0.2.json b/elements/hadoop-mapr/resources/spec_4.0.2.json deleted file mode 100644 index 5b0ec231..00000000 --- a/elements/hadoop-mapr/resources/spec_4.0.2.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "drill": [ - "0.7.0", - "1.2.0" - ], - "flume": [ - "1.5.0" - ], - "hbase": [ - "0.98.7" - ], - "hive": [ - "0.13" - ], - "httpfs": [ - "1.0" - ], - "hue": [ - "3.6.0" - ], - "impala": [ - "1.4.1" - ], - "mahout": [ - "0.9" - ], - "oozie": [ - "4.0.1" - ], - "pig": [ - "0.13" - ], - "sqoop": [ - "2.0.0" - ] -}