You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sander Naus (JIRA)" <ji...@apache.org> on 2018/10/04 12:21:00 UTC
[jira] [Created] (AMBARI-24735) Custom peerPort and leaderPort for
ZooKeeper are not applied
Sander Naus created AMBARI-24735:
------------------------------------
Summary: Custom peerPort and leaderPort for ZooKeeper are not applied
Key: AMBARI-24735
URL: https://issues.apache.org/jira/browse/AMBARI-24735
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.7.1
Reporter: Sander Naus
Setting custom values for leaderPort and peerPort in Ambari is not reflected in the zoo.cf
The values are hardcoded in the Jinja2 template
{quote}{{{% for key, value in zoo_cfg_properties_map.iteritems() -%}}}
{{ \{{key}}=\{{value}}}}
{{{% endfor %}}}
{{{% for host in zookeeper_hosts -%}}}
{{server.\{{loop.index}}=\{{host}}:2888:3888}}
{{{% endfor %}}}
{quote}
File location: /var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/templates/zoo.cfg.j2
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)