Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to download and start Kafka in CDH 5.7.0

SOLVED Go to solution

Unable to download and start Kafka in CDH 5.7.0

Explorer

Hello I am new to CDH 5.7.0. Recently I started installing Kafka from Cloudera Managler using parcels. In the list of parcel Kafka was already avalable for download. I succesfully downloaded and distributed it but when I clicked on "Activate" link it shows me the following error  "CDH (5.2 and higher) parcel required for KAFKA (2.0.2-1.2.0.2.p0.5) is not available." How to resolve this? What am I doing wrong? Please suggest me, I am stuck.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to download and start Kafka in CDH 5.7.0

Master Guru
If you are using the QuickStart VM please read this note that comes along https://www.cloudera.com/documentation/enterprise/latest/topics/cloudera_quickstart_vm.html:

"""
The VM uses a package-based install. This allows you to work with or without Cloudera Manager. Parcels do not work with the VM unless you first migrate your CDH installation to use parcels. On your production systems, Cloudera recommends that you use parcels.
"""

In order to use a Kafka parcel, the CDH installation must first exist as a parcel by itself. The error you face is telling you that no CDH parcel was detected, which likely means your current CDH is package-based.

Follow this guide to migrate from packages to parcels first for your CDH cluster software: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_migrating_packages_to_parcels...., and then you should be able to use your Kafka parcel.
3 REPLIES 3

Re: Unable to download and start Kafka in CDH 5.7.0

Super Collaborator
What is the exact version of Cloudera Manager that you have installed?

-pd

Re: Unable to download and start Kafka in CDH 5.7.0

Master Guru
If you are using the QuickStart VM please read this note that comes along https://www.cloudera.com/documentation/enterprise/latest/topics/cloudera_quickstart_vm.html:

"""
The VM uses a package-based install. This allows you to work with or without Cloudera Manager. Parcels do not work with the VM unless you first migrate your CDH installation to use parcels. On your production systems, Cloudera recommends that you use parcels.
"""

In order to use a Kafka parcel, the CDH installation must first exist as a parcel by itself. The error you face is telling you that no CDH parcel was detected, which likely means your current CDH is package-based.

Follow this guide to migrate from packages to parcels first for your CDH cluster software: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_migrating_packages_to_parcels...., and then you should be able to use your Kafka parcel.

Re: Unable to download and start Kafka in CDH 5.7.0

Explorer

Yes I found the solution. There was one more parcel "CDH5", which I activated first and then I was able to activate Kafka. But one more issue is when I tried to add the Kafka as a service, then I am facing error as "Supervisor retuned fatal. Please check the role log file, stderr or stdout". What is this issue again. Please help me.