Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can't add Kafka service in 5.4.x

avatar

I saw the other threads regarding this issue and it seems to be a parcel issue?

 

I'm confused on what I need to do with parcels, as for any other service I have added (Hue, Oozie, Spark, etc) I simply followed the instructions on adding the service and it worked. Is there something extra that needs to be done for Kafka? If so, how do we add parcels to the cluster?

 

Here is what I'm doing:

 

1) Click on Add a service, select Kafka

 

2) Select host, I've selected the host where ZK is running (i'll call it node 1), I've also individually tried nodes 2-5.

 

3) Review changes:

 

Data directory: /var/local/kafka/data

 

4) Start Kafka:

 

Error: 

Failed to execute command Start on service Kafka

 Details:

 

Supervisor returned FATAL. Please check the role log file, stderr, or stdout

STDERR:

 

ttp:///process/86-kafka-KAFKA_BROKER/files/logs/stderr.log
The server declined access to the page or resource.

There are no logs under var/log/kafka or var/lib/kafka (the kafka directories aren't there).

 

Thank you for the help!

1 ACCEPTED SOLUTION

avatar
2 REPLIES 2

avatar

avatar

Well that's embarrasing, I didn't realize that if kafka came under "add a service" the parcels wouldn't be activiated. Activated them and it now works.

 

Thanks!