Repository: ambari Updated Branches: refs/heads/branch-2.4 cf46343bc -> 457ab3868 refs/heads/trunk 15ecedfdc -> 48a8a072d
AMBARI-17427. Support Atlas in kerberized environment, submit Service Check as smokeuser (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/457ab386 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/457ab386 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/457ab386 Branch: refs/heads/branch-2.4 Commit: 457ab38686f5b3bd1d346e7f6ffbd0de61629f2f Parents: cf46343 Author: Lisnichenko Dmitro <[email protected]> Authored: Thu Jun 30 17:43:47 2016 +0300 Committer: Lisnichenko Dmitro <[email protected]> Committed: Thu Jun 30 19:19:13 2016 +0300 ---------------------------------------------------------------------- .../ATLAS/0.1.0.2.3/package/scripts/service_check.py | 2 +- .../src/test/python/stacks/2.3/ATLAS/test_service_check.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/457ab386/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py index 6b03d50..61b3ac0 100644 --- a/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py +++ b/ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py @@ -33,7 +33,7 @@ class AtlasServiceCheck(Script): user=params.smoke_test_user) try: - Execute(params.smoke_cmd, user=params.metadata_user, tries = 5, + Execute(params.smoke_cmd, user=params.smoke_test_user, tries = 5, try_sleep = 10) Logger.info('Atlas server up and running') except: http://git-wip-us.apache.org/repos/asf/ambari/blob/457ab386/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py index a8b54cb..b9dd736 100644 --- a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py +++ b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py @@ -35,7 +35,7 @@ class TestAtlasCheck(RMFTestCase): ) self.assertResourceCalled('Execute', 'curl -s -o /dev/null -w "%{http_code}" http://c6401.ambari.apache.org:21000/', - user = 'atlas', + user = 'ambari-qa', tries = 5, try_sleep = 10) @@ -55,7 +55,7 @@ class TestAtlasCheck(RMFTestCase): user = 'ambari-qa') self.assertResourceCalled('Execute', 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" https://c6401.ambari.apache.org:21443/', - user = 'atlas', + user = 'ambari-qa', tries = 5, try_sleep = 10)
