incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1346597 - in /incubator/ambari/branches/ambari-186: ./ hmc/puppet/modules/hdp-hive/manifests/ hmc/puppet/modules/hdp-oozie/manifests/ hmc/puppet/modules/hdp-templeton/manifests/
Date Tue, 05 Jun 2012 21:21:29 GMT
Author: vikram
Date: Tue Jun  5 21:21:29 2012
New Revision: 1346597

URL: http://svn.apache.org/viewvc?rev=1346597&view=rev
Log:
AMBARI-335.Redundant downloads even though the artifacts are already installed (Contributed
by Ramya)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1346597&r1=1346596&r2=1346597&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Tue Jun  5 21:21:29 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-335. Redundant downloads even though the artifacts are already installed (Ramya
via Vikram)
+
   AMBARI-519. update to fix the ganglia monitor_and_server anchor problem (Rich via Vikram)
 
   AMBARI-333. Update messaging resources for initialization wizard (Yusaku via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp?rev=1346597&r1=1346596&r2=1346597&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp
(original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-hive/manifests/mysql-connector.pp
Tue Jun  5 21:21:29 2012
@@ -10,6 +10,7 @@ class hdp-hive::mysql-connector()
   
   exec{ "curl hive_mysql_url":
     command => "mkdir -p ${artifact_dir} ; curl -f --retry 10 ${url} -o ${target} ",
+    unless  => "test -f ${hive_lib}/${$zip_name}",
     creates => $target,
     path    => ["/bin","/usr/bin/"]
   }
@@ -17,6 +18,7 @@ class hdp-hive::mysql-connector()
     command => "unzip -o -j ${target}",
     cwd     => $hive_lib,
     group   => $hdp::params::hadoop_user_group,
+    unless  => "test -f ${hive_lib}/${$zip_name}",
     creates => "${hive_lib}/${$zip_name}",
     path    => ["/usr/bin/"]
   }

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp?rev=1346597&r1=1346596&r2=1346597&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
(original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
Tue Jun  5 21:21:29 2012
@@ -8,6 +8,7 @@ class hdp-oozie::download-ext-zip()
   
   exec{ "curl ${url}":
     command => "mkdir -p ${artifact_dir} ; curl -f --retry 10 ${url} -o ${target} ",
+    unless  => "test -f ${target}",
     creates => $target,
     path    => ["/bin","/usr/bin/"]
   }

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp?rev=1346597&r1=1346596&r2=1346597&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
(original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
Tue Jun  5 21:21:29 2012
@@ -8,6 +8,7 @@ class hdp-templeton::download-hive-tar()
   
   exec{ "curl ${url}":
     command => "mkdir -p ${artifact_dir} ; curl -f --retry 10 ${url} -o ${target} ",
+    unless  => "test -f ${target}",
     creates => $target,
     path    => ["/bin","/usr/bin/"]
   }

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp?rev=1346597&r1=1346596&r2=1346597&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp
(original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp
Tue Jun  5 21:21:29 2012
@@ -9,6 +9,7 @@ class hdp-templeton::download-pig-tar()
   exec{ "curl ${url}":
     command => "mkdir -p ${artifact_dir} ; curl -f --retry 10  ${url} -o ${target} ",
     creates => $target,
+    unless  => "test -f ${target}",
     path    => ["/bin","/usr/bin/"]
   }
 }



Mime
View raw message