ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-9988 Worker Process cannot create logs in /var/log/storm when supervisor.run.worker.as.user is set to true in kerberized Storm Cluster (dsen)
Date Mon, 09 Mar 2015 19:55:19 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.0.0 e207215ca -> 0fca70f2c


AMBARI-9988 Worker Process cannot create logs in /var/log/storm when supervisor.run.worker.as.user
is set to true in kerberized Storm Cluster (dsen)


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

Branch: refs/heads/branch-2.0.0
Commit: 0fca70f2c454647d155fbe0652aa813f146fd2fa
Parents: e207215
Author: Dmytro Sen <dsen@apache.org>
Authored: Mon Mar 9 21:52:10 2015 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Mon Mar 9 21:54:56 2015 +0200

----------------------------------------------------------------------
 .../common-services/STORM/0.9.1.2.1/package/scripts/storm.py     | 2 +-
 .../src/test/python/stacks/2.1/STORM/test_storm_base.py          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0fca70f2/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
index b5b967e..7a2488d 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
@@ -34,7 +34,7 @@ def storm():
   Directory(params.log_dir,
             owner=params.storm_user,
             group=params.user_group,
-            mode=0775,
+            mode=0777,
             recursive=True
   )
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/0fca70f2/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py b/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py
index 3f68715..2b475d1 100644
--- a/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py
+++ b/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py
@@ -33,7 +33,7 @@ class TestStormBase(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/log/storm',
       owner = 'storm',
       group = 'hadoop',
-      mode = 0775,
+      mode = 0777,
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/var/run/storm',
@@ -74,7 +74,7 @@ class TestStormBase(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/log/storm',
       owner = 'storm',
       group = 'hadoop',
-      mode = 0775,
+      mode = 0777,
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/var/run/storm',


Mime
View raw message