ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-18677. Zeppelin install not correctly setting user and group for notebook directory
Date Thu, 27 Oct 2016 01:11:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 d08ca50b4 -> e68c0f4ed


AMBARI-18677. Zeppelin install not correctly setting user and group for notebook directory


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

Branch: refs/heads/branch-2.5
Commit: e68c0f4ed45ccc3bc008bed88fd43f4388e4c68c
Parents: d08ca50
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Wed Oct 26 18:10:11 2016 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Wed Oct 26 18:10:51 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/e68c0f4e/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 8eb36c8..4583d81 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
@@ -161,6 +161,8 @@ class Master(Script):
 
     Execute(("chown", "-R", format("{zeppelin_user}") + ":" + format("{zeppelin_group}"),
"/etc/zeppelin"),
             sudo=True)
+    Execute(("chown", "-R", format("{zeppelin_user}") + ":" + format("{zeppelin_group}"),
+             os.path.join(params.zeppelin_dir, "notebook")), sudo=True)
 
     if params.security_enabled:
         zeppelin_kinit_cmd = format("{kinit_path_local} -kt {zeppelin_kerberos_keytab} {zeppelin_kerberos_principal};
")


Mime
View raw message