incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1347230 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/puppet/modules/hdp-oozie/manifests/service.pp
Date Thu, 07 Jun 2012 00:49:00 GMT
Author: vikram
Date: Thu Jun  7 00:48:59 2012
New Revision: 1347230

URL: http://svn.apache.org/viewvc?rev=1347230&view=rev
Log:
AMBARI-425. Oozie start fails with 'Not managing symlink mode' (Contributed by Ramya)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347230&r1=1347229&r2=1347230&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 00:48:59 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-435. Oozie start fails with "Not managing symlink mode" (Ramya via Vikram)
+
   AMBARI-424. change "reconfiguremonitoring" message to a better worded action (Hitesh via
Vikram)
 
   AMBARI-421. Ganglia uninstall does not remove libganglia or gmond (Richard via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp?rev=1347230&r1=1347229&r2=1347230&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp
(original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp
Thu Jun  7 00:48:59 2012
@@ -56,9 +56,8 @@ define hdp-oozie::service::directory()
 }
 define hdp-oozie::service::createsymlinks()
 {
-  file { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml':
-    ensure => present,
-    target => "/etc/hadoop/conf/mapred-site.xml",
-    mode => '0755'
+  hdp::exec { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml':
+    command => "ln -sf /etc/hadoop/conf/mapred-site.xml /usr/lib/oozie/oozie-server/lib/mapred-site.xml",
+    unless => "test -e /usr/lib/oozie/oozie-server/lib/mapred-site.xml"
   }
 }



Mime
View raw message