id / kafka-el7-rpm

A set of scripts to package Apache Kafka into an rpm (CentOS/RedHat 7)
54 stars 40 forks source link

kafka 0.9.0.1 start errors on cent 7 #5

Closed dragosstoica closed 8 years ago

dragosstoica commented 8 years ago

Hi,

Did you manage to use this with:

KAFKA_VERSION ?= 0.9.0.1 SCALA_VERSION ?= 2.11

I get this errors at start:

systemctl start kafka

Failed to issue method call: Unit kafka.service failed to load: Bad message. See system logs and 'systemctl status kafka.service' for details.

systemctl status kafka

kafka.service - Kafka Loaded: error (Reason: Bad message) Drop-In: /usr/lib/systemd/system/kafka.service.d └─classpath.conf Active: inactive (dead)

Feb 19 23:53:20 kick systemd[1]: [/usr/lib/systemd/system/kafka.service.d/classpath.conf:3] Missing '='.

id commented 8 years ago

Will fix this soon, thanks.

dragosstoica commented 8 years ago

I moved classpath from /usr/lib/systemd/system/kafka.service.d/classpath.conf in /etc/sysconfig/kafka and its working fine

dragosstoica commented 8 years ago

kafka.spec.txt