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 2013/11/15 23:27:46 UTC

git commit: AMBARI-3777. Remove HDPLocal stack from stack definition.

Updated Branches:
  refs/heads/trunk cd7e9f623 -> 8bd015a72


AMBARI-3777. Remove HDPLocal stack from stack definition.


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

Branch: refs/heads/trunk
Commit: 8bd015a72c7d9f667166f16ae2757b46d0109171
Parents: cd7e9f6
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Nov 15 14:27:11 2013 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Fri Nov 15 14:27:11 2013 -0800

----------------------------------------------------------------------
 ambari-server/set-hdp-repo-url.sh | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/8bd015a7/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 73a6447..3fed770 100644
--- a/ambari-server/set-hdp-repo-url.sh
+++ b/ambari-server/set-hdp-repo-url.sh
@@ -34,10 +34,8 @@ then
   if [ "$#" != 2 ]
   then
     HDPREPO=target/classes/stacks/HDP/${VERSION}/repos
-    HDPLOCALREPO=target/classes/stacks/HDPLocal/${VERSION}/repos
   else
     HDPREPO=$2/var/lib/ambari-server/resources/stacks/HDP/${VERSION}/repos
-    HDPLOCALREPO=$2/var/lib/ambari-server/resources/stacks/HDPLocal/${VERSION}/repos
   fi
 
   echo "Processing '${HDPREPO}/repoinfo.xml' and '${HDPLOCALREPO}/repoinfo.xml'"
@@ -45,13 +43,10 @@ then
 
   echo "Setting centos5 stack url to '$C5URL'"
   sed "s;REPLACE_WITH_CENTOS5_URL;$C5URL;" ${HDPREPO}/repoinfo.xml >  ${HDPREPO}/repoinfo.xml.tmp; mv ${HDPREPO}/repoinfo.xml.tmp ${HDPREPO}/repoinfo.xml
-  sed "s;REPLACE_WITH_CENTOS5_URL;$C5URL;" ${HDPLOCALREPO}/repoinfo.xml >  ${HDPLOCALREPO}/repoinfo.xml.tmp; mv ${HDPLOCALREPO}/repoinfo.xml.tmp ${HDPLOCALREPO}/repoinfo.xml
 
   echo "Setting centos6 stack url to '$C6URL'"
   sed "s;REPLACE_WITH_CENTOS6_URL;$C6URL;" ${HDPREPO}/repoinfo.xml >  ${HDPREPO}/repoinfo.xml.tmp; mv ${HDPREPO}/repoinfo.xml.tmp ${HDPREPO}/repoinfo.xml
-  sed "s;REPLACE_WITH_CENTOS6_URL;$C6URL;" ${HDPLOCALREPO}/repoinfo.xml >  ${HDPLOCALREPO}/repoinfo.xml.tmp; mv ${HDPLOCALREPO}/repoinfo.xml.tmp ${HDPLOCALREPO}/repoinfo.xml
 
   echo "Setting suse11 stack url to '$S11URL'"
   sed  "s;REPLACE_WITH_SUSE11_URL;$S11URL;" ${HDPREPO}/repoinfo.xml >  ${HDPREPO}/repoinfo.xml.tmp; mv ${HDPREPO}/repoinfo.xml.tmp ${HDPREPO}/repoinfo.xml
-  sed  "s;REPLACE_WITH_SUSE11_URL;$S11URL;" ${HDPLOCALREPO}/repoinfo.xml >  ${HDPLOCALREPO}/repoinfo.xml.tmp; mv ${HDPLOCALREPO}/repoinfo.xml.tmp ${HDPLOCALREPO}/repoinfo.xml
 fi