ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject [26/28] ambari git commit: Fix issues in AMS components status check API(avijayan)
Date Tue, 15 Nov 2016 19:14:19 GMT
Fix issues in AMS components status check API(avijayan)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0b2b59de
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0b2b59de
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0b2b59de

Branch: refs/heads/branch-2.5
Commit: 0b2b59de75903f8c1323bc527a5b9e1a910132e5
Parents: 2b2ad27
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Mon Nov 14 22:00:05 2016 -0800
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
Committed: Tue Nov 15 11:06:41 2016 -0800

----------------------------------------------------------------------
 .../AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py      | 2 +-
 .../AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py        | 2 +-
 .../AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0b2b59de/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
index 11b71ed..214c1e8 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
@@ -58,7 +58,7 @@ class AmsCollector(Script):
   def status(self, env):
     import status_params
     env.set_params(status_params)
-    check_service_status(env, name='collector')
+    check_service_status(name='collector')
     
   def get_log_folder(self):
     import params

http://git-wip-us.apache.org/repos/asf/ambari/blob/0b2b59de/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
index 3b5d07b..667c127 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
@@ -71,7 +71,7 @@ class AmsGrafana(Script):
   def status(self, env):
     import status_params
     env.set_params(status_params)
-    check_service_status(env, name='grafana')
+    check_service_status(name='grafana')
 
 if __name__ == "__main__":
   AmsGrafana().execute()

http://git-wip-us.apache.org/repos/asf/ambari/blob/0b2b59de/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py
index e4076bd..b344464 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py
@@ -53,7 +53,7 @@ class AmsMonitor(Script):
   def status(self, env):
     import status_params
     env.set_params(status_params)
-    check_service_status(env, name='monitor')
+    check_service_status(name='monitor')
     
   def get_log_folder(self):
     import params


Mime
View raw message