ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alejan...@apache.org
Subject ambari git commit: AMBARI-16893. Ambari install failure due to zeppelin service install bug (Renjith Kamath via alejandro)
Date Tue, 31 May 2016 22:39:29 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk ff9150cca -> bc11f5f12


AMBARI-16893. Ambari install failure due to zeppelin service install bug (Renjith Kamath via
alejandro)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bc11f5f1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bc11f5f1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bc11f5f1

Branch: refs/heads/trunk
Commit: bc11f5f12e639fd76305b6d73cf6a1b0dd93faaf
Parents: ff9150c
Author: Alejandro Fernandez <afernandez@hortonworks.com>
Authored: Tue May 31 15:40:32 2016 -0700
Committer: Alejandro Fernandez <afernandez@hortonworks.com>
Committed: Tue May 31 15:40:32 2016 -0700

----------------------------------------------------------------------
 .../common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bc11f5f1/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
index 9cd1b1d..d4f1e83 100644
--- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
+++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
@@ -36,7 +36,8 @@ class Master(Script):
     import params
     env.set_params(params)
 
-    Execute('chmod +x ' + params.service_packagedir + "/scripts/setup_snapshot.sh")
+    Execute('chmod -R 755 ' + params.service_packagedir)
+    Execute('chmod a+x ' + os.path.join(params.service_packagedir, "scripts/setup_snapshot.sh"))
 
     # Create user and group if they don't exist
     self.create_linux_user(params.zeppelin_user, params.zeppelin_group)


Mime
View raw message