Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 f122348f0 -> 158f2e13d
  refs/heads/trunk c61933d87 -> 4fd35351b


AMBARI-11994. Creating Zookeeper-only cluster fails with 'hadoop-env' was not 
found. (mpapirkovskyy)


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

Branch: refs/heads/branch-2.1
Commit: 158f2e13dd27e87cd8baa6e7243e2bf67cc38ae4
Parents: f122348
Author: Myroslav Papirkovskyy <[email protected]>
Authored: Thu Jun 18 16:31:23 2015 +0300
Committer: Myroslav Papirkovskyy <[email protected]>
Committed: Thu Jun 18 17:29:05 2015 +0300

----------------------------------------------------------------------
 .../resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/158f2e13/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 5b5829d..87719f3 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
@@ -172,7 +172,7 @@ has_ranger_admin = not len(ranger_admin_hosts) == 0
 
 hbase_tmp_dir = "/tmp/hbase-hbase"
 
-proxyuser_group = config['configurations']['hadoop-env']['proxyuser_group']
+proxyuser_group = default("/configurations/hadoop-env/proxyuser_group","users")
 ranger_group = config['configurations']['ranger-env']['ranger_group']
 dfs_cluster_administrators_group = 
config['configurations']['hdfs-site']["dfs.cluster.administrators"]
 

Reply via email to