ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject ambari git commit: AMBARI-13212. There is no need to put 700 for /user/hive directory, or at least make it configurable
Date Thu, 22 Oct 2015 10:14:57 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.2 a2d85e7a9 -> c39cdb9f4


AMBARI-13212. There is no need to put 700 for /user/hive directory, or at least make it configurable


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

Branch: refs/heads/branch-2.1.2
Commit: c39cdb9f40d6de7a460b8cc96e155b9b62689670
Parents: a2d85e7
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Thu Oct 22 13:14:31 2015 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Oct 22 13:14:31 2015 +0300

----------------------------------------------------------------------
 .../HIVE/0.12.0.2.0/package/scripts/params_linux.py              | 2 +-
 .../src/test/python/stacks/2.0.6/HIVE/test_hive_server.py        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c39cdb9f/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
index b8bb9a7..253a6f8 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
@@ -353,7 +353,7 @@ process_name = status_params.process_name
 hive_env_sh_template = config['configurations']['hive-env']['content']
 
 hive_hdfs_user_dir = format("/user/{hive_user}")
-hive_hdfs_user_mode = 0700
+hive_hdfs_user_mode = 0755
 hive_apps_whs_dir = config['configurations']['hive-site']["hive.metastore.warehouse.dir"]
 hive_exec_scratchdir = config['configurations']['hive-site']["hive.exec.scratchdir"]
 #for create_hdfs_directory

http://git-wip-us.apache.org/repos/asf/ambari/blob/c39cdb9f/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py b/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
index 275d1d4..67cc046 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
@@ -372,7 +372,7 @@ class TestHiveServer(RMFTestCase):
         hadoop_conf_dir = '/etc/hadoop/conf',
         type = 'directory',
         action = ['create_on_execute'], hdfs_site=self.getConfig()['configurations']['hdfs-site'],
principal_name='missing_principal', default_fs=default_fs_default,
-        mode = 0700,
+        mode = 0755,
     )
     if not no_tmp:
       self.assertResourceCalled('HdfsResource', '/custompath/tmp/hive',
@@ -550,7 +550,7 @@ class TestHiveServer(RMFTestCase):
         hadoop_conf_dir = '/etc/hadoop/conf',
         type = 'directory',
         action = ['create_on_execute'], hdfs_site=self.getConfig()['configurations']['hdfs-site'],
principal_name='hdfs', default_fs='hdfs://c6401.ambari.apache.org:8020',
-        mode = 0700,
+        mode = 0755,
     )
     self.assertResourceCalled('HdfsResource', '/custompath/tmp/hive',
         security_enabled = True,


Mime
View raw message