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:24 UTC
[1/2] ambari git commit: AMBARI-19264 Zeppelin Notebook Component is
not able start after reboot (r-kamath)
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 <re...@gmail.com>
Authored: Mon Dec 26 11:51:03 2016 +0530
Committer: Renjith Kamath <re...@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}"),
[2/2] ambari git commit: AMBARI-19264 Zeppelin Notebook Component is
not able start after reboot (r-kamath)
Posted by rk...@apache.org.
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}"),