Browse Source

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

Yusaku Sako 10 years ago
parent
commit
c6d0056867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-server/set-hdp-repo-url.sh

+ 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'; 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