ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [32/50] [abbrv] ambari git commit: AMBARI-19693. Permission issues with conf.server/hive-site.xml across several hive components (Dmytro Grinenko via smohanty)
Date Wed, 25 Jan 2017 18:57:21 GMT
AMBARI-19693. Permission issues with conf.server/hive-site.xml across several hive components
(Dmytro Grinenko via smohanty)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 2a2b4e94feacfff56097293810867ce627b1778a
Parents: f4f7571
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Tue Jan 24 13:46:21 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Tue Jan 24 13:47:54 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/2a2b4e94/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py
index eecbcff..faa8c7e 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat.py
@@ -51,7 +51,7 @@ def hcat():
 
   Directory(params.hive_conf_dir,
             create_parents = True,
-            owner=params.webhcat_user,
+            owner=params.hive_user,
             group=params.user_group,
   )
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2a2b4e94/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py b/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py
index c09cd06..ff7e728 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py
@@ -34,7 +34,7 @@ class TestHcatClient(RMFTestCase):
                        target = RMFTestCase.TARGET_COMMON_SERVICES
     )
     self.assertResourceCalled('Directory', '/usr/hdp/current/hive-server2/conf',
-                              owner = 'hcat',
+                              owner = 'hive',
                               group = 'hadoop',
                               create_parents = True,
     )
@@ -74,7 +74,7 @@ class TestHcatClient(RMFTestCase):
     )
     self.assertResourceCalled('Directory', '/usr/hdp/current/hive-server2/conf',
                               create_parents = True,
-                              owner = 'hcat',
+                              owner = 'hive',
                               group = 'hadoop',
     )
     self.assertResourceCalled('Directory', '/etc/hive-hcatalog/conf',


Mime
View raw message