Zookeeper is installed via Ambari

Installing via Ambari 1.7 and would like some clarification on installing Zookeeper. The installation includes (3) Zookeeper and (3) Kafka instances. Ambari UI asks for the Zookeeper master (s) and Zookeeper clients / slaves. Should I select all three Zookeeper nodes as masters and install the Zookeeper client on each Kafka server?

Zookeeper doesn't have any node (s) masters and I'm a little confused here with this Ambari master / slave terminology.

+3


source to share


1 answer


Zookeeper Server is considered a MASTER component in Ambari terminology. Kafka has a requirement that Zookeeper Server be installed on at least one node in the cluster. So the only requirement is to have a Zookeeper server installed on one of your cluster nodes for Kafka to work. Kafka does not require Zookeeper clients on every Kafka node.

You can determine all this information by looking at the configuration of the Service for KAFKA and ZOOKEEPER. The configuration is specified in the metainfo.xml file for each component under the stack definition. The location of the definitions will differ depending on the version of Ambari you have installed.

In newer versions of Ambari, this is the place:



   /var/lib/ambari-server/resources/common-services/<service name>/<service version>

      

In the old version of Ambari, this is the place:

  /var/lib/ambari-server/resources/stacks/HDP/<stack version>/services/<service name>

      

0


source







All Articles