Revert "AMBARI-8174. Reverting all patches. (swagle)" This reverts commit a7e1a379330af4370f219e476f04a280d2ac9643.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/44dce929 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/44dce929 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/44dce929 Branch: refs/heads/branch-1.7.0 Commit: 44dce929aad6b71f1eed18c0b08c52bbf4b6a1d6 Parents: 4e2201c Author: Siddharth Wagle <[email protected]> Authored: Thu Nov 6 20:51:49 2014 -0800 Committer: Siddharth Wagle <[email protected]> Committed: Thu Nov 6 20:51:49 2014 -0800 ---------------------------------------------------------------------- .../resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/44dce929/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py index ddb2b0b..6389f33 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py @@ -137,4 +137,5 @@ if has_nagios: user_list = json.loads(config['hostLevelParams']['user_list']) group_list = json.loads(config['hostLevelParams']['group_list']) -dn_proc_user=hdfs_user +if security_enabled : + dn_proc_user=hdfs_user
