ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: Revert "AMBARI-4851. The DataNode directory perm issues should be 750 not 755.(vbrodetskyi)"
Date Thu, 27 Feb 2014 00:19:35 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 89bf32488 -> 5e29f679d


Revert "AMBARI-4851. The DataNode directory perm issues should be 750 not 755.(vbrodetskyi)"

This reverts commit 79ff159d03111752a847548ee124fc706eabb6dd.


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

Branch: refs/heads/trunk
Commit: 5e29f679df1496affd5b4b327c923302c7842cce
Parents: 89bf324
Author: Mahadev Konar <mahadev@apache.org>
Authored: Wed Feb 26 16:19:14 2014 -0800
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Wed Feb 26 16:19:14 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/5e29f679/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 a216803..5ad9eeb 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
@@ -32,7 +32,7 @@ def datanode(action=None):
     for data_dir in params.dfs_data_dir.split(","):
       Directory(data_dir,
                 recursive=True,
-                mode=0750,
+                mode=0755,
                 owner=params.hdfs_user,
                 group=params.user_group)
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/5e29f679/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 ad3c9d8..39374e8 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
@@ -141,7 +141,7 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/hadoop/hdfs/data',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0755,
                               recursive = True,
                               )
 
@@ -155,6 +155,6 @@ class TestDatanode(RMFTestCase):
     self.assertResourceCalled('Directory', '/hadoop/hdfs/data',
                               owner = 'hdfs',
                               group = 'hadoop',
-                              mode = 0750,
+                              mode = 0755,
                               recursive = True,
                               )
\ No newline at end of file


Mime
View raw message