Browse Source

AMBARI-239. HDFS utilization pie chart shows gray / HDFS down while HDFS is up and running. Contributed by vgogate.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1339444 13f79535-47bb-0310-9956-ffa450edef68
Jitendra Nath Pandey 13 years ago
parent
commit
c751b3149d
2 changed files with 16 additions and 0 deletions
  1. 4 0
      CHANGES.txt
  2. 12 0
      hmc/php/puppet/genmanifest/PuppetClassDependencies.php

+ 4 - 0
CHANGES.txt

@@ -1,6 +1,10 @@
 Ambari Change log
 
 Release 0.x.x - unreleased
+
+  AMBARI-239. HDFS utilization pie chart shows gray / HDFS down while HDFS is up and running.
+  (vgogate via jitendra)
+
   AMBARI-238. When namenode process is down info shown is not correct for both HDFS and MR (vgogate)
 
   AMBARI-237. Refactor puppet kick loop to easily change retries and timeouts.

+ 12 - 0
hmc/php/puppet/genmanifest/PuppetClassDependencies.php

@@ -61,6 +61,18 @@ class PuppetClassDependencies {
     $this->addDependency("hdp-oozie::server", SERVICE_STATE_RUNNING, "hdp-hadoop::client",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
 
+    //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));
+    $this->addDependency("hdp-hive::client", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-hcat",
+        array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));
+
+    //Hive Service Check
+    $this->addDependency("hdp-hive::hive::service_check", SERVICE_STATE_NOT_APPLICABLE, 
+        "hdp-hcat::hcat::service_check", array());
+
     //Pig
     $this->addDependency("hdp-pig", SERVICE_STATE_INSTALLED_AND_CONFIGURED, "hdp-hadoop::client",
         array("service_state" => SERVICE_STATE_INSTALLED_AND_CONFIGURED));