From 2d7defcacaa5c684e84e311a5438188d6d321de8 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 16 Apr 2015 10:31:37 +0200 Subject: [PATCH] Fix extjs.zip download URL Switch to a different URL, found here [1], which works and point to the same ext-2.2.zip as used so far. [1] https://issues.cloudera.org/browse/DISTRO-476 Change-Id: I4a74c0d4d870683c4e4cc311736cd74349563fab Closes-Bug: #1444348 --- diskimage-create/diskimage-create.sh | 2 +- elements/extjs/README.rst | 2 +- elements/extjs/install.d/80-install-extjs | 2 +- elements/extjs/root.d/50-download-extjs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 62ec5244..574d2480 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -307,7 +307,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "vanilla" ]; then export OOZIE_HADOOP_V1_DOWNLOAD_URL=${OOZIE_HADOOP_V1_DOWNLOAD_URL:-"http://sahara-files.mirantis.com/oozie-4.0.0.tar.gz"} export OOZIE_HADOOP_V2_6_DOWNLOAD_URL=${OOZIE_HADOOP_V2_6_DOWNLOAD_URL:-"http://sahara-files.mirantis.com/oozie-4.0.1-hadoop-2.6.0.tar.gz"} export HADOOP_V2_6_NATIVE_LIBS_DOWNLOAD_URL=${HADOOP_V2_6_NATIVE_LIBS_DOWNLOAD_URL:-"http://sahara-files.mirantis.com/hadoop-native-libs-2.6.0.tar.gz"} - export EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://extjs.com/deploy/ext-2.2.zip"} + export EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://dev.sencha.com/deploy/ext-2.2.zip"} export HIVE_VERSION=${HIVE_VERSION:-"0.11.0"} ubuntu_elements_sequence="base vm ubuntu hadoop oozie mysql hive $JAVA_ELEMENT" diff --git a/elements/extjs/README.rst b/elements/extjs/README.rst index 31e5cb3b..21388b84 100644 --- a/elements/extjs/README.rst +++ b/elements/extjs/README.rst @@ -20,7 +20,7 @@ The element can be configured by exporting variables using a * EXTJS\_DOWNLOAD\_URL The URL from where to download extjs. Defaults to - ``http://extjs.com/deploy/ext-2.2.zip``. + ``http://dev.sencha.com/deploy/ext-2.2.zip``. * EXTJS\_NO\_UNPACK diff --git a/elements/extjs/install.d/80-install-extjs b/elements/extjs/install.d/80-install-extjs index b8a5280c..23d4fbcd 100755 --- a/elements/extjs/install.d/80-install-extjs +++ b/elements/extjs/install.d/80-install-extjs @@ -6,7 +6,7 @@ fi set -eu set -o pipefail -EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://extjs.com/deploy/ext-2.2.zip"} +EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://dev.sencha.com/deploy/ext-2.2.zip"} extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL) diff --git a/elements/extjs/root.d/50-download-extjs b/elements/extjs/root.d/50-download-extjs index 46024243..036b4e9e 100755 --- a/elements/extjs/root.d/50-download-extjs +++ b/elements/extjs/root.d/50-download-extjs @@ -6,7 +6,7 @@ fi set -eu set -o pipefail -EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://extjs.com/deploy/ext-2.2.zip"} +EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://dev.sencha.com/deploy/ext-2.2.zip"} filename=$(basename $EXTJS_DOWNLOAD_URL) cached_package="$DIB_IMAGE_CACHE/$filename"