Explorar o código

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

Yusaku Sako %!s(int64=10) %!d(string=hai) anos
pai
achega
c6d0056867
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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