Add auto configs to HDP plugin
Add ability to automaticaly generate better configurations for cluster. All calculations of recommended config values is executed by Ambari itself according to 'ALWAYS_APPLY' strategy. Change-Id: I98f14e4578397d6a8d14438e368485d5dbeaeed2
This commit is contained in:
parent
4427f7698c
commit
2e78134c8f
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Add ability to automaticaly generate better configurations for
|
||||
Ambari cluster by using 'ALWAYS_APPLY' strategy
|
@ -335,6 +335,10 @@ def _build_ambari_cluster_template(cluster):
|
||||
"default_password": uuidutils.generate_uuid(),
|
||||
"host_groups": []
|
||||
}
|
||||
|
||||
if cluster.use_autoconfig:
|
||||
cl_tmpl["config_recommendation_strategy"] = "ALWAYS_APPLY"
|
||||
|
||||
if kerberos.is_kerberos_security_enabled(cluster):
|
||||
cl_tmpl["credentials"] = _get_credentials(cluster)
|
||||
cl_tmpl["security"] = {"type": "KERBEROS"}
|
||||
|
Loading…
Reference in New Issue
Block a user