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]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Manual Upgrade of Kafka

avatar
Super Collaborator

We're currently using HDP 2.3.2.

How can we manually upgrade the kafka to 0.9.x?

Thank in advance!

1 ACCEPTED SOLUTION

avatar
Master Guru

For manual upgrade, with disclaimer provided by Emil, you can follow these steps

  • Download the .repo file of HDP-2.4 for your OS (if you have no Internet access you need to setup a local repo). Links can be found here.
  • Stop your Kafka broker
  • Backup config files in /etc/kafka/conf
  • Run "yum upgrade kafka" (or zypper if you are on Suse)
  • Follow the steps here to configure and start Kafka. You can reuse your old configs, but will need some new ones like "listeners". Be sure to set log.dirs and zookeeper.connect to the values used before the upgrade
  • Start kafka, either from the command-line (link above), it might also work from Ambari.
  • If you face issues I've listed 4 known issues here: https://community.hortonworks.com/content/kbentry/29224/troubleshooting-kafka-upgrade.html

View solution in original post

2 REPLIES 2

avatar
Master Guru

For manual upgrade, with disclaimer provided by Emil, you can follow these steps

  • Download the .repo file of HDP-2.4 for your OS (if you have no Internet access you need to setup a local repo). Links can be found here.
  • Stop your Kafka broker
  • Backup config files in /etc/kafka/conf
  • Run "yum upgrade kafka" (or zypper if you are on Suse)
  • Follow the steps here to configure and start Kafka. You can reuse your old configs, but will need some new ones like "listeners". Be sure to set log.dirs and zookeeper.connect to the values used before the upgrade
  • Start kafka, either from the command-line (link above), it might also work from Ambari.
  • If you face issues I've listed 4 known issues here: https://community.hortonworks.com/content/kbentry/29224/troubleshooting-kafka-upgrade.html

avatar
Super Collaborator

Thanks @Predrag Minovic!

Will try this to our dev cluster.