Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-27-2019 12:01 PM
hi all
We are using the hortonworks kits for our hadoop cluster ( HDP - 2.6.4 - HDP 3.1 )
I just wondering if any of kafka versions in HDP 2.X / 3.X must have a zookeeper servers??
Or
maybe some kafka version can works without zookeeper??
Created 06-27-2019 12:19 PM
Kafka uses zookeeper https://kafka.apache.org/documentation/#brokerconfigs , hence in HDP common services you will find that Kafka has a dependency to Zookeeper.
Example:
# grep -B4 -A4 'ZOOKEEPER' /var/lib/ambari-server/resources/common-services/KAFKA/0.8.1/metainfo.xml <versionAdvertised>true</versionAdvertised> <rollingRestartSupported>true</rollingRestartSupported> <dependencies> <dependency> <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> <scope>cluster</scope> <auto-deploy> <enabled>true</enabled> </auto-deploy> -- <scriptType>PYTHON</scriptType> <timeout>300</timeout> </commandScript> <requiredServices> <service>ZOOKEEPER</service> </requiredServices> <configuration-dependencies> <config-type>kafka-broker</config-type> <config-type>kafka-env</config-type>
.
Created 06-27-2019 12:19 PM
Kafka uses zookeeper https://kafka.apache.org/documentation/#brokerconfigs , hence in HDP common services you will find that Kafka has a dependency to Zookeeper.
Example:
# grep -B4 -A4 'ZOOKEEPER' /var/lib/ambari-server/resources/common-services/KAFKA/0.8.1/metainfo.xml <versionAdvertised>true</versionAdvertised> <rollingRestartSupported>true</rollingRestartSupported> <dependencies> <dependency> <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> <scope>cluster</scope> <auto-deploy> <enabled>true</enabled> </auto-deploy> -- <scriptType>PYTHON</scriptType> <timeout>300</timeout> </commandScript> <requiredServices> <service>ZOOKEEPER</service> </requiredServices> <configuration-dependencies> <config-type>kafka-broker</config-type> <config-type>kafka-env</config-type>
.
Created 07-02-2019 02:25 AM
The above question and the entire response thread below was originally posted in the Community Help track. On Tue Jul 2 02:23 UTC 2019, a member of the HCC moderation staff moved it to the Data Ingestion & Streaming track. The Community Help Track is intended for questions about using the HCC site itself, not technical questions about Kafka dependancies on Zookeeper.