Upgrading Kafka or Cloudera Manager

Upgrading Kafka

Required Role:

  1. Download the Kafka parcel to Cloudera Manager, distribute the parcel to the hosts in your cluster, de-activate the previous parcel, and then activate the new parcel. See Managing Parcels. After you activate the Kafka parcel, Cloudera Manager prompts you to restart the cluster. Click the Close button to ignore this prompt. You do not need to restart the cluster after installing Kafka.
  2. Restart the Kafka service (either broker-by-broker or all at once). See Starting, Stopping, and Restarting Services.

Cloudera recommends that you deploy Kafka on dedicated hosts that are not used for other cluster roles.

Upgrading Cloudera Manager Without Upgrading Kafka

  1. Delete the previous Kafka CSD JAR from /opt/cloudera/csd/. See Uninstalling an Add-on Service.
  2. Upgrade Cloudera Manager.
  3. Disable Monitoring:
    1. In Cloudera Manager, select your Kafka instance.
    2. Click Configuration.
    3. De-select the Enable monitoring checkbox.

Upgrading Both Cloudera Manager and Kafka

  1. Delete the previous Kafka CSD JAR from /opt/cloudera/csd/. See Uninstalling an Add-on Service.
  2. Upgrade Cloudera Manager.
  3. Download the Kafka parcel to Cloudera Manager, distribute the parcel to the hosts in your cluster, and then activate the parcel. See Managing Parcels. After you activate the Kafka parcel, Cloudera Manager prompts you to restart the cluster. You do not need to restart the cluster after installing Kafka. Click Close to ignore this prompt.
  4. Restart the Kafka service (either broker-by-broker or all at once). See Starting, Stopping, and Restarting Services.

Upgrading Cloudera Manager Before Installing Kafka

If you have never installed Kafka, you can upgrade Cloudera Manager and then install Kafka. See Installing the Kafka Parcel.