ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbrodets...@apache.org
Subject git commit: AMBARI-4787. /var/lib/hadoop-hdfs/ location does not has +x permission for others.(vbrodetskyi)
Date Fri, 21 Feb 2014 18:43:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 98ee4c6d6 -> c02c7bf50


AMBARI-4787. /var/lib/hadoop-hdfs/ location does not has +x permission for others.(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: c02c7bf5086f79e92cc234b949b08d693bedeac4
Parents: 98ee4c6
Author: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Authored: Fri Feb 21 20:42:21 2014 +0200
Committer: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Committed: Fri Feb 21 20:42:21 2014 +0200

----------------------------------------------------------------------
 .../HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py     | 2 +-
 .../HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py     | 2 +-
 ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py | 4 ++--
 ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c02c7bf5/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py
b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py
index b033185..7ec3135 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_datanode.py
@@ -27,7 +27,7 @@ def datanode(action=None):
   if action == "configure":
     Directory(params.dfs_domain_socket_dir,
               recursive=True,
-              mode=0750,
+              mode=0751,
               owner=params.hdfs_user,
               group=params.user_group)
     for data_dir in params.dfs_data_dir.split(","):

http://git-wip-us.apache.org/repos/asf/ambari/blob/c02c7bf5/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py
index f7d9f15..023b653 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_datanode.py
@@ -27,7 +27,7 @@ def datanode(action=None):
   if action == "configure":
     Directory(params.dfs_domain_socket_dir,
               recursive=True,
-              mode=0750,
+              mode=0751,
               owner=params.hdfs_user,
               group=params.user_group)
     for data_dir in params.dfs_data_dir.split(","):

http://git-wip-us.apache.org/repos/asf/ambari/blob/c02c7bf5/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py b/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py
index 42b9fe0..6894a78 100644
--- a/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py
+++ b/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py
@@ -142,7 +142,7 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/lib/hadoop-hdfs',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0751,
                               recursive = True,
                               )
     self.assertResourceCalled('Directory', '/hadoop/hdfs',
@@ -160,7 +160,7 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/lib/hadoop-hdfs',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0751,
                               recursive = True,
                               )
     self.assertResourceCalled('Directory', '/hadoop/hdfs',

http://git-wip-us.apache.org/repos/asf/ambari/blob/c02c7bf5/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
index 838c53a..894631f 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
@@ -143,7 +143,7 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/lib/hadoop-hdfs',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0751,
                               recursive = True,
                               )
     self.assertResourceCalled('Directory', '/hadoop/hdfs/data',
@@ -157,7 +157,7 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/var/lib/hadoop-hdfs',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0751,
                               recursive = True,
                               )
     self.assertResourceCalled('Directory', '/hadoop/hdfs/data',


Mime
View raw message