Repository: ambari Updated Branches: refs/heads/trunk a55b1ac0d -> a624de7be
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/a624de7b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a624de7b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a624de7b Branch: refs/heads/trunk Commit: a624de7beb12be3d473a0911a56e7defcdd0805a Parents: a55b1ac Author: Dmytro Sen <[email protected]> Authored: Tue Dec 8 19:00:20 2015 +0200 Committer: Dmytro Sen <[email protected]> Committed: Tue Dec 8 19:00:20 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/a624de7b/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/a624de7b/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)
