浏览代码

18272. Fix latest repo URL replacement script and modify existing URLs to point to public URLs (smohanty)

Sumit Mohanty 9 年之前
父节点
当前提交
446b5cae35

+ 1 - 1
ambari-server/set-hdp-repo-url.sh

@@ -57,7 +57,7 @@ then
 
    
   # all stacks get the same url
-  for ver in '1.3' '2.0' '2.1' '2.2' '2.3' '2.4'; do
+  for ver in '1.3' '2.0' '2.1' '2.2' '2.3' '2.4' '2.5'; do
     HDPREPO=target/classes/stacks/HDP/$ver/repos
     if [ -d $HDPREPO ]; then
       echo "Replacing $ver latest lookup url to '$LATEST_URL'"

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml

@@ -16,7 +16,7 @@
    limitations under the License.
 -->
 <reposinfo>
-  <latest>http://s3.amazonaws.com/dev.hortonworks.com/HDP/hdp_urlinfo.json</latest>
+  <latest>http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json</latest>
   <os family="redhat6">
     <repo>
       <baseurl>http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.5.0.0</baseurl>