Reply
Posts: 8
Topics: 5
Kudos: 0
Blog Posts: 0
Solutions: 1
Registered: ‎08-07-2016
Accepted Solution

Unable to download and start Kafka in CDH 5.7.0

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.

Cloudera Employee
Posts: 277
Registered: ‎01-09-2014

Re: Unable to download and start Kafka in CDH 5.7.0

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

-pd
Posts: 1,903
Kudos: 436
Solutions: 307
Registered: ‎07-31-2013

Re: Unable to download and start Kafka in CDH 5.7.0

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.
Highlighted
Posts: 8
Topics: 5
Kudos: 0
Blog Posts: 0
Solutions: 1
Registered: ‎08-07-2016

Re: Unable to download and start Kafka in CDH 5.7.0

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.