incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject svn commit: r1475973 - in /incubator/ambari/trunk: CHANGES.txt ambari-agent/src/main/python/ambari_agent/AmbariConfig.py ambari-agent/src/main/python/ambari_agent/LiveStatus.py
Date Thu, 25 Apr 2013 21:30:56 GMT
Author: ncole
Date: Thu Apr 25 21:30:56 2013
New Revision: 1475973

URL: http://svn.apache.org/r1475973
Log:
AMBARI-2026. Added WebHCat to status commands

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
    incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/LiveStatus.py

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1475973&r1=1475972&r2=1475973&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 25 21:30:56 2013
@@ -453,6 +453,8 @@ Trunk (unreleased changes):
 
  AMBARI-1546. Improve Cluster Management loading screen. (Xi Wang via yusaku)
 
+ AMBARI-2026. Add WebHCat to live status checks. (ncole)
+
  AMBARI-1975. Add Clover coverage (ncole)
 
  AMBARI-1537. Constrain the width of all wizard popups. (Xi Wang via yusaku)

Modified: incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py?rev=1475973&r1=1475972&r2=1475973&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py Thu Apr
25 21:30:56 2013
@@ -148,7 +148,8 @@ servicesToPidNames = {
   'HIVE_SERVER': 'hive-server.pid',
   'HIVE_METASTORE': 'hive.pid',
   'MYSQL_SERVER': 'mysqld.pid',
-  'HUE_SERVER': '/var/run/hue/supervisor.pid'
+  'HUE_SERVER': '/var/run/hue/supervisor.pid',
+  'WEBHCAT_SERVER': 'webhcat.pid',
 }
 
 linuxUserPattern = '[A-Za-z0-9_-]*[$]?'
@@ -172,8 +173,10 @@ pidPathesVars = [
    'defaultValue' : '/var/run/webhcat'},                       
   {'var' : 'hive_pid_dir',
    'defaultValue' : '/var/run/hive'},                      
-   {'var' : 'mysqld_pid_dir',
-   'defaultValue' : '/var/run/mysqld'}
+  {'var' : 'mysqld_pid_dir',
+   'defaultValue' : '/var/run/mysqld'},
+  {'var' : 'webhcat_pid_dir',
+   'defaultValue' : '/var/run/webhcat'},                      
 ]
 
 class AmbariConfig:

Modified: incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/LiveStatus.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/LiveStatus.py?rev=1475973&r1=1475972&r2=1475973&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/LiveStatus.py (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/python/ambari_agent/LiveStatus.py Thu Apr
25 21:30:56 2013
@@ -32,7 +32,7 @@ class LiveStatus:
   SERVICES = [
     "HDFS", "MAPREDUCE", "GANGLIA", "HBASE",
     "NAGIOS", "ZOOKEEPER", "OOZIE", "HCATALOG",
-    "KERBEROS", "TEMPLETON", "HIVE"
+    "KERBEROS", "TEMPLETON", "HIVE", "WEBHCAT"
   ]
 
   COMPONENTS = [
@@ -84,6 +84,8 @@ class LiveStatus:
        "componentName" : "HIVE_METASTORE"},
       {"serviceName" : "HIVE",               #!
        "componentName" : "MYSQL_SERVER"},
+      {"serviceName" : "WEBHCAT",
+       "componentName" : "WEBHCAT_SERVER"},
   ]
 
   LIVE_STATUS = "STARTED"



Mime
View raw message