Sfoglia il codice sorgente

AMBARI-426. Reinstall of cluster after failure to install results in failure (Contributed by Ramya)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347207 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K 13 anni fa
parent
commit
db964d9017
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 2 0
      CHANGES.txt
  2. 3 1
      hmc/puppet/modules/hdp-oozie/manifests/service.pp

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 
 Release 0.1.x - unreleased
 Release 0.1.x - unreleased
 
 
+  AMBARI-426. Reinstall of cluster after failure to install results in failure (Ramya via Vikram)
+
   AMBARI-427. Class not found Class['hdp-zookeeper::service'] during uninstall (Ramya via Vikram)
   AMBARI-427. Class not found Class['hdp-zookeeper::service'] during uninstall (Ramya via Vikram)
 
 
   AMBARI-531. Remove/disable reconfigure option for Sqoop, Pig, Ganglia and Templeton (Yusaku via Vikram)
   AMBARI-531. Remove/disable reconfigure option for Sqoop, Pig, Ganglia and Templeton (Yusaku via Vikram)

+ 3 - 1
hmc/puppet/modules/hdp-oozie/manifests/service.pp

@@ -29,7 +29,9 @@ class hdp-oozie::service(
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_tmp_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_tmp_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_data_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_data_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_lib_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_lib_dir : }
-  hdp-oozie::service::createsymlinks { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml' : }
+  if ($ensure == 'running') {
+    hdp-oozie::service::createsymlinks { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml' : }
+  }
 
 
   anchor{'hdp-oozie::service::begin':} -> Hdp-oozie::Service::Directory<||> -> anchor{'hdp-oozie::service::end':}
   anchor{'hdp-oozie::service::begin':} -> Hdp-oozie::Service::Directory<||> -> anchor{'hdp-oozie::service::end':}