Use archive.apache.org instead of www.apache.org

The Apache Hive project has taken hive 0.11.0 down from
www.apache.org. However, it and newer versions are available from
archive.apache.org. This change uses archive over www.

Change-Id: I777c13b70bbc142e31d17fd6c8653aa1960ba532
(cherry picked from commit f812f4168c)
This commit is contained in:
Matthew Farrellee 2014-04-22 09:11:17 -04:00 committed by Sergey Lukjanov
parent eede8c1e6f
commit bbd92d3e15
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ mkdir -p $tmp_dir
cd $tmp_dir
if [ -z $HIVE_DOWNLOAD_URL ]; then
HIVE_DOWNLOAD_URL=http://www.apache.org/dist/hive/hive-$HIVE_VERSION/hive-$HIVE_VERSION-bin.tar.gz
HIVE_DOWNLOAD_URL=http://archive.apache.org/dist/hive/hive-$HIVE_VERSION/hive-$HIVE_VERSION-bin.tar.gz
fi
wget $HIVE_DOWNLOAD_URL
if [ $? -ne 0 ]; then