Fixes Ambari repo used by HDP 2 image generation script
This patch fixes a problem in the HDP "hadoop-hdp" image generation element. Some recent changes to the Ambari online yum repositories have caused a breakage in the HDP image-generation process. This patch resolves this problem by modifying the HDP 2 image generation process to use the same repo URL used by the HDP 1 generation process. Currently, both versions of HDP use Ambari 1.4.3.38, so using the same repo URL is a valid choice. This patch has been submitted to resolve the current build breakage for HDP images. Closes-Bug: #1349893 Change-Id: I9ae0cb98b5085225fccfa2cb05a19a01c8d8ed8d
This commit is contained in:
parent
54144ec29a
commit
4523fbc90c
|
@ -107,7 +107,7 @@ function installHDP_2_0 ()
|
|||
|
||||
# ====== INSTALL Ambari =======
|
||||
cd /tmp
|
||||
wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/1.x/GA/ambari.repo -O /etc/yum.repos.d/ambari.repo
|
||||
wget -nv http://s3.amazonaws.com/public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.4.3.38/ambari.repo -O /etc/yum.repos.d/ambari.repo
|
||||
|
||||
install_ambari
|
||||
|
||||
|
|
Loading…
Reference in New Issue