You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2018/05/21 15:38:55 UTC
[ambari] branch trunk updated: AMBARI-23866 add retry to Kerberos
service check kinit
This is an automated email from the ASF dual-hosted git repository.
rlevas pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1b7034e AMBARI-23866 add retry to Kerberos service check kinit
1b7034e is described below
commit 1b7034eb9f45ee313cf440641ac393fdf76dfc34
Author: quirogadf <qu...@gmail.com>
AuthorDate: Wed May 16 15:45:06 2018 -0700
AMBARI-23866 add retry to Kerberos service check kinit
---
.../KERBEROS/1.10.3-10/package/scripts/service_check.py | 5 ++++-
.../KERBEROS/1.10.3-30/package/scripts/service_check.py | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py
index 41c25c5..d446ba0 100644
--- a/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/service_check.py
@@ -61,7 +61,10 @@ class KerberosServiceCheck(Script):
try:
# kinit
Execute(kinit_command,
- user=params.smoke_user
+ user=params.smoke_user,
+ wait_for_finish=True,
+ tries=9,
+ try_sleep=15
)
finally:
File(ccache_file_path,
diff --git a/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-30/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-30/package/scripts/service_check.py
index 41c25c5..d446ba0 100644
--- a/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-30/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-30/package/scripts/service_check.py
@@ -61,7 +61,10 @@ class KerberosServiceCheck(Script):
try:
# kinit
Execute(kinit_command,
- user=params.smoke_user
+ user=params.smoke_user,
+ wait_for_finish=True,
+ tries=9,
+ try_sleep=15
)
finally:
File(ccache_file_path,
--
To stop receiving notification emails like this one, please contact
rlevas@apache.org.