Repository: ambari Updated Branches: refs/heads/branch-2.5 77bd5ebeb -> 59441de0b
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/59441de0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/59441de0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/59441de0 Branch: refs/heads/branch-2.5 Commit: 59441de0ba9cc7bc649bc2127e1e78d86a84fd5a Parents: 77bd5eb Author: Sumit Mohanty <smoha...@hortonworks.com> Authored: Tue Jan 24 13:46:21 2017 -0800 Committer: Sumit Mohanty <smoha...@hortonworks.com> Committed: Tue Jan 24 13:46:21 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/59441de0/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 c047114..fe7e2fb 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 @@ -45,7 +45,7 @@ def hcat(): Directory(params.hive_conf_dir, create_parents = True, - owner=params.hcat_user, + owner=params.hive_user, group=params.user_group, ) http://git-wip-us.apache.org/repos/asf/ambari/blob/59441de0/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',