Repository: ambari Updated Branches: refs/heads/trunk aea31f740 -> 094245f31
AMBARI-11911 [WinTP2] Falcon service check fails after installation Retrying smoke test to cover for Falcon startup slowness Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/094245f3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/094245f3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/094245f3 Branch: refs/heads/trunk Commit: 094245f3192345ce6bead138f1b8b5687b1cf6ad Parents: aea31f7 Author: Florian Barca <fba...@hortonworks.com> Authored: Sun Jun 14 09:47:05 2015 -0700 Committer: Florian Barca <fba...@hortonworks.com> Committed: Sun Jun 14 09:47:05 2015 -0700 ---------------------------------------------------------------------- .../FALCON/0.5.0.2.1/package/scripts/service_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/094245f3/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py index 1e48d6a..e633dcb 100644 --- a/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py +++ b/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py @@ -47,7 +47,7 @@ class FalconServiceCheckWindows(FalconServiceCheck): env.set_params(params) smoke_cmd = os.path.join(params.hdp_root,"Run-SmokeTests.cmd") service = "FALCON" - Execute(format("cmd /C {smoke_cmd} {service}"), user=params.falcon_user, logoutput=True) + Execute(format("cmd /C {smoke_cmd} {service}"), user=params.falcon_user, logoutput=True, tries = 3, try_sleep = 20) if __name__ == "__main__": FalconServiceCheck().execute()