ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkam...@apache.org
Subject [1/2] ambari git commit: AMBARI-19264 Zeppelin Notebook Component is not able start after reboot (r-kamath)
Date Mon, 26 Dec 2016 06:22:24 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 64c87b235 -> 07261b0c3
  refs/heads/trunk ef79c6d83 -> 5822c2f51


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/07261b0c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/07261b0c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/07261b0c

Branch: refs/heads/branch-2.5
Commit: 07261b0c3fbe86582198911c773f8fb5b44d1f67
Parents: 64c87b2
Author: Renjith Kamath <renjith.kamath@gmail.com>
Authored: Mon Dec 26 11:51:03 2016 +0530
Committer: Renjith Kamath <renjith.kamath@gmail.com>
Committed: Mon Dec 26 11:51:03 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/07261b0c/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}"),


Mime
View raw message