You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2016/08/30 02:36:22 UTC

[15/16] ambari git commit: 18272. Fix latest repo URL replacement script and modify existing URLs to point to public URLs (smohanty)

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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/446b5cae
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/446b5cae
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/446b5cae

Branch: refs/heads/branch-2.5
Commit: 446b5cae356a48a173687b8359a6012b107905e4
Parents: c939466
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Mon Aug 29 18:51:43 2016 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Mon Aug 29 18:51:43 2016 -0700

----------------------------------------------------------------------
 ambari-server/set-hdp-repo-url.sh                                  | 2 +-
 ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/446b5cae/ambari-server/set-hdp-repo-url.sh
----------------------------------------------------------------------
diff --git a/ambari-server/set-hdp-repo-url.sh b/ambari-server/set-hdp-repo-url.sh
index c0e59ab..6d46db0 100644
--- a/ambari-server/set-hdp-repo-url.sh
+++ b/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'"

http://git-wip-us.apache.org/repos/asf/ambari/blob/446b5cae/ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml
index ad8cfd4..8657d91 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml
+++ b/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>