diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 48757a50..47da85cc 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -265,7 +265,7 @@ case "$PLUGIN" in esac case "$HADOOP_VERSION" in - "" | "2.2.0.0" | "2.2.1.0");; + "" | "2.2.0.0" | "2.2.1.0" | "2.4.2.0");; *) echo -e "Continuing image building with custom ambari version \"$HADOOP_VERSION\"\n" ;; diff --git a/elements/ambari/pre-install.d/90-ambari-repo-conf b/elements/ambari/pre-install.d/90-ambari-repo-conf index f6c3e38a..6ed3c38d 100755 --- a/elements/ambari/pre-install.d/90-ambari-repo-conf +++ b/elements/ambari/pre-install.d/90-ambari-repo-conf @@ -6,7 +6,7 @@ fi set -eu set -o pipefail -DIB_AMBARI_VERSION="${DIB_AMBARI_VERSION:-2.2.2.0}" +DIB_AMBARI_VERSION="${DIB_AMBARI_VERSION:-2.4.2.0}" case "${DISTRO_NAME}" in rhel | centos )