ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-14253 AMS service check fails on CentOS7 (dsen)
Date Tue, 08 Dec 2015 17:05:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 e1f407c60 -> ce859109c


AMBARI-14253 AMS service check fails on CentOS7 (dsen)


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

Branch: refs/heads/branch-2.2
Commit: ce859109c98f757e4c37becf3ac8a2a6d05ea193
Parents: e1f407c
Author: Dmytro Sen <dsen@apache.org>
Authored: Tue Dec 8 19:00:20 2015 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Tue Dec 8 19:04:19 2015 +0200

----------------------------------------------------------------------
 .../resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml    | 2 +-
 .../AMBARI_METRICS/0.1.0/package/scripts/service_check.py          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ce859109/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml
index 66d3f52..48469df 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml
@@ -119,7 +119,7 @@
       <commandScript>
         <script>scripts/service_check.py</script>
         <scriptType>PYTHON</scriptType>
-        <timeout>300</timeout>
+        <timeout>600</timeout>
       </commandScript>
 
       <requiredServices>

http://git-wip-us.apache.org/repos/asf/ambari/blob/ce859109/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
index 2243fe9..1d759b9 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
@@ -38,7 +38,7 @@ import socket
 class AMSServiceCheck(Script):
   AMS_METRICS_POST_URL = "/ws/v1/timeline/metrics/"
   AMS_METRICS_GET_URL = "/ws/v1/timeline/metrics?%s"
-  AMS_CONNECT_TRIES = 10
+  AMS_CONNECT_TRIES = 20
   AMS_CONNECT_TIMEOUT = 15
 
   @OsFamilyFuncImpl(os_family=OSConst.WINSRV_FAMILY)


Mime
View raw message