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-19442. Ownership is changed before the creation of directory in ZEPPELIN master.py (Renjith Kamath via smohanty)
Date Sun, 15 Jan 2017 23:08:44 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 b696e9a6c -> 77b4113ab


AMBARI-19442. Ownership is changed before the creation of directory in ZEPPELIN master.py
(Renjith Kamath via smohanty)


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

Branch: refs/heads/branch-2.5
Commit: 77b4113ab56e619f2818839f3760ea664e78ab21
Parents: b696e9a
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Sun Jan 15 15:02:25 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Sun Jan 15 15:02:39 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/77b4113a/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 d3d494d..ac56aa2 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
@@ -116,7 +116,6 @@ class Master(Script):
     env.set_params(params)
     env.set_params(status_params)
     self.create_zeppelin_log_dir(env)
-    self.chown_zeppelin_pid_dir(env)
 
     # create the pid and zeppelin dirs
     Directory([params.zeppelin_pid_dir, params.zeppelin_dir],
@@ -126,6 +125,7 @@ class Master(Script):
               create_parents=True,
               mode=0755
     )
+    self.chown_zeppelin_pid_dir(env)
 
     # write out zeppelin-site.xml
     XmlConfig("zeppelin-site.xml",


Mime
View raw message