You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by fb...@apache.org on 2015/06/03 01:54:31 UTC
ambari git commit: AMBARI-11635 [WinTP2] Zookeeper service check fails
Repository: ambari
Updated Branches:
refs/heads/trunk 216275d95 -> 1f3745397
AMBARI-11635 [WinTP2] Zookeeper service check fails
Fixed service check user context
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1f374539
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1f374539
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1f374539
Branch: refs/heads/trunk
Commit: 1f37453977488a855cbf5f0d7b2871930e0e4c92
Parents: 216275d
Author: Florian Barca <fb...@hortonworks.com>
Authored: Tue Jun 2 16:54:17 2015 -0700
Committer: Florian Barca <fb...@hortonworks.com>
Committed: Tue Jun 2 16:54:17 2015 -0700
----------------------------------------------------------------------
.../ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/1f374539/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py
index 6ffe5f5..2d2b793 100644
--- a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/service_check.py
@@ -63,7 +63,7 @@ class ZookeeperServiceCheckWindows(ZookeeperServiceCheck):
smoke_cmd = os.path.join(params.hdp_root,"Run-SmokeTests.cmd")
service = "Zookeeper"
- Execute(format("cmd /C {smoke_cmd} {service}"), logoutput=True)
+ Execute(format("cmd /C {smoke_cmd} {service}"), user=params.zk_user, logoutput=True)
if __name__ == "__main__":
ZookeeperServiceCheck().execute()