I have installed CDH 5.2.4 on CentOS 6.6. After I distributed Kafka parcel, and try to add Kafka Service, I am getting this error.
Service did not start successfully; not all of the required roles started: Service has only 0 Kafka Broker roles running instead of minimum required 1.
Appreciate your help here.
I know this is a late reply - but may serve as a pointer for ppl searching for this issue.
I faced the same issue. Using CDH 5.8.0 (converted to parcels).
Searching the log - I found the below authorization error as the dir was owned by root.
Can't open /var/run/cloudera-scm-agent/process/257-kafka-KAFKA_BROKER/supervisor.conf: Permission denied.
I changed the authorization using sudo chmod for /var/run/cloudera-scm-agent/process/ and retried adding the service and things went fine. May be cloudera should be given root access or something to avoid this.