BUG-65111. Fix latest repo URL and the replacement script (smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/547cb41b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/547cb41b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/547cb41b Branch: refs/heads/AMBARI-2.4.0.2 Commit: 547cb41b7f6460b26d85761955a2bdf2ef012b9f Parents: 59175b7 Author: Sumit Mohanty <[email protected]> Authored: Sat Aug 27 18:13:37 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sat Aug 27 18:13:37 2016 -0700 ---------------------------------------------------------------------- ambari-server/set-hdp-repo-url.sh | 2 +- ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml | 2 +- ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml | 2 +- ambari-server/src/main/resources/stacks/HDP/2.5/repos/repoinfo.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/547cb41b/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/547cb41b/ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml index 142b87d..ec9fba0 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/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.3.0.0</baseurl> http://git-wip-us.apache.org/repos/asf/ambari/blob/547cb41b/ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml index 289a0c1..1087d9c 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/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.4.0.0</baseurl> http://git-wip-us.apache.org/repos/asf/ambari/blob/547cb41b/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>
