You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rk...@apache.org on 2016/12/26 06:22:25 UTC
[2/2] ambari git commit: AMBARI-19264 Zeppelin Notebook Component is
not able start after reboot (r-kamath)
AMBARI-19264 Zeppelin Notebook Component is not able start after reboot (r-kamath)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5822c2f5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5822c2f5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5822c2f5
Branch: refs/heads/trunk
Commit: 5822c2f512fab4aca1443ab04c7ceba4c272e5d1
Parents: ef79c6d
Author: Renjith Kamath <re...@gmail.com>
Authored: Mon Dec 26 11:51:03 2016 +0530
Committer: Renjith Kamath <re...@gmail.com>
Committed: Mon Dec 26 11:51:57 2016 +0530
----------------------------------------------------------------------
.../ZEPPELIN/0.6.0.2.5/package/scripts/master.py | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5822c2f5/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 cfd6963..8053648 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,14 @@ class Master(Script):
import time
self.configure(env)
+ Directory([params.zeppelin_pid_dir],
+ owner=params.zeppelin_user,
+ group=params.zeppelin_group,
+ cd_access="a",
+ create_parents=True,
+ mode=0755
+ )
+
Execute(("chown", "-R", format("{zeppelin_user}") + ":" + format("{zeppelin_group}"), "/etc/zeppelin"),
sudo=True)
Execute(("chown", "-R", format("{zeppelin_user}") + ":" + format("{zeppelin_group}"),