ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-19997. Change Livy recovery folder permission to 0700 (Saisai Shao via smohanty)
Date Wed, 15 Feb 2017 00:53:54 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 387f2e55f -> e92ab89dd


AMBARI-19997. Change Livy recovery folder permission to 0700 (Saisai Shao via smohanty)


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

Branch: refs/heads/branch-2.5
Commit: e92ab89dd04fccc10bc4cbc397c96570793f8a02
Parents: 387f2e5
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Tue Feb 14 16:53:40 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Tue Feb 14 16:53:40 2017 -0800

----------------------------------------------------------------------
 .../common-services/SPARK/1.2.1/package/scripts/setup_livy.py      | 2 +-
 .../common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py    | 2 +-
 ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py  | 2 +-
 .../src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e92ab89d/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_livy.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_livy.py
b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_livy.py
index 32615c3..e394fec 100644
--- a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_livy.py
+++ b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_livy.py
@@ -44,7 +44,7 @@ def setup_livy(env, type, upgrade_type = None, action = None):
                        type="directory",
                        action="create_on_execute",
                        owner=params.livy_user,
-                       mode=0775
+                       mode=0700
     )
     params.HdfsResource(None, action="execute")
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/e92ab89d/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py
b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py
index 2e92509..c428488 100644
--- a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py
+++ b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_livy2.py
@@ -44,7 +44,7 @@ def setup_livy(env, type, upgrade_type = None, action = None):
                         type="directory",
                         action="create_on_execute",
                         owner=params.livy2_user,
-                        mode=0775
+                        mode=0700
        )
     params.HdfsResource(None, action="execute")
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/e92ab89d/ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py b/ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py
index b9199c7..3c7e4a2 100644
--- a/ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py
+++ b/ambari-server/src/test/python/stacks/2.5/SPARK/test_spark_livy.py
@@ -99,7 +99,7 @@ class TestSparkClient(RMFTestCase):
                                   type = 'directory',
                                   action = ['create_on_execute'], hdfs_resource_ignore_file='/var/lib/ambari-agent/data/.hdfs_resource_ignore',
                                   dfs_type = '',
-                                  mode = 0775,
+                                  mode = 0700,
                                   )
         self.assertResourceCalled('HdfsResource', None,
                                   immutable_paths = self.DEFAULT_IMMUTABLE_PATHS,

http://git-wip-us.apache.org/repos/asf/ambari/blob/e92ab89d/ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py b/ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
index 75aec84..c370bbc 100644
--- a/ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
+++ b/ambari-server/src/test/python/stacks/2.6/SPARK2/test_spark_livy2.py
@@ -99,7 +99,7 @@ class TestSparkClient(RMFTestCase):
                                   type = 'directory',
                                   action = ['create_on_execute'], hdfs_resource_ignore_file='/var/lib/ambari-agent/data/.hdfs_resource_ignore',
                                   dfs_type = '',
-                                  mode = 0775,
+                                  mode = 0700,
                                   )
         self.assertResourceCalled('HdfsResource', None,
                                   immutable_paths = self.DEFAULT_IMMUTABLE_PATHS,


Mime
View raw message