You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/02 02:38:22 UTC

svn commit: r1345407 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/puppet/genmanifest/PuppetClassDependencies.php

Author: vikram
Date: Sat Jun  2 00:38:22 2012
New Revision: 1345407

URL: http://svn.apache.org/viewvc?rev=1345407&view=rev
Log:
AMBARI-326. Dependencies should be added only during install phase (Contributed by Jitendra)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/php/puppet/genmanifest/PuppetClassDependencies.php

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1345407&r1=1345406&r2=1345407&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Sat Jun  2 00:38:22 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-326. Dependencies should be added only during install phase (Jitendra via Vikram)
+
   AMBARI-324. Welcome page missing. (Yusaku via Vikram)
 
   AMBARI-323. During any process in the cluster initialization wizard, if the user goes back to the "1 Create Cluster" tab, the user is stuck. (Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/php/puppet/genmanifest/PuppetClassDependencies.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/puppet/genmanifest/PuppetClassDependencies.php?rev=1345407&r1=1345406&r2=1345407&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/puppet/genmanifest/PuppetClassDependencies.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/puppet/genmanifest/PuppetClassDependencies.php Sat Jun  2 00:38:22 2012
@@ -41,9 +41,9 @@ class PuppetClassDependencies {
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
 
     $this->addDependency("hdp-hbase::master", SERVICE_STATE_RUNNING, "hdp-zookeeper::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-hbase::master", SERVICE_STATE_RUNNING, "hdp-hadoop::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
 
     $this->addDependency("hdp-hbase::regionserver", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-zookeeper::client",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
@@ -51,21 +51,21 @@ class PuppetClassDependencies {
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
 
     $this->addDependency("hdp-hbase::regionserver", SERVICE_STATE_RUNNING, "hdp-zookeeper::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-hbase::regionserver", SERVICE_STATE_RUNNING, "hdp-hadoop::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
 
     //Oozie
     $this->addDependency("hdp-oozie::server", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-hadoop::client",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
     $this->addDependency("hdp-oozie::server", SERVICE_STATE_RUNNING, "hdp-hadoop::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
 
     //Hive depends on Hcat
     $this->addDependency("hdp-hive::server", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-hcat",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
     $this->addDependency("hdp-hive::server", SERVICE_STATE_RUNNING, "hdp-hcat",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-hive::client", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-hcat",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
 
@@ -92,13 +92,13 @@ class PuppetClassDependencies {
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
 
     $this->addDependency("hdp-templeton::server", SERVICE_STATE_RUNNING, "hdp-zookeeper::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-templeton::server", SERVICE_STATE_RUNNING, "hdp-hadoop::client",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-templeton::server", SERVICE_STATE_RUNNING, "hdp-pig",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
     $this->addDependency("hdp-templeton::server", SERVICE_STATE_RUNNING, "hdp-hcat",
-        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+        array("service_state" => SERVICE_STATE_NO_OP));
 
     //Ganglia
     $this->addDependency("hdp-ganglia::monitor", SERVICE_STATE_RUNNING, "hdp-ganglia::hdp-gmond::service_check", array());