ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject git commit: AMBARI-7769. Fix AMBARI-7740 HDP 2.2 should read the base repo URLs from JSON file. (Sunitha Velpula via yusaku)
Date Tue, 14 Oct 2014 22:07:32 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 73b780206 -> c6d005686


AMBARI-7769. Fix AMBARI-7740 HDP 2.2 should read the base repo URLs from JSON file. (Sunitha
Velpula via yusaku)


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

Branch: refs/heads/trunk
Commit: c6d0056867bb8a20471511a7be9004d5a71e4645
Parents: 73b7802
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Tue Oct 14 15:06:54 2014 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Tue Oct 14 15:06:54 2014 -0700

----------------------------------------------------------------------
 ambari-server/set-hdp-repo-url.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c6d00568/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 5e8ff0a..fed7a94 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'; do
+  for ver in '1.3' '2.0' '2.1' '2.2'; do
     echo "Replacing $ver latest lookup url to '$LATEST_URL'"
     HDPREPO=target/classes/stacks/HDP/$ver/repos
     sed "s;\(<latest>\)\([^>]*\)\(<\/latest>\);\1$LATEST_URL\3;" ${HDPREPO}/repoinfo.xml
> ${HDPREPO}/repoinfo.xml.tmp; mv ${HDPREPO}/repoinfo.xml.tmp ${HDPREPO}/repoinfo.xml


Mime
View raw message