Category Archives: biginsights

Ambari BigInsights Kafka Not Starting

Well it seems I've hit my first issue with my BigInsights Image, not a massive problem, but something to think about. On my Ambari browser services page it was showing that the Kafka service was not running, I tried a restart a number of times, but this seemed to continuously fail. So I figured that I best look into it a bit further. In this case the issue was on the Ambari Master server which has the most services running on it. So first call of action is to see if maybe Ambari is not making the call correctly:

[[email protected] ~]# kafka
Usage: /usr/bin/kafka {start|stop|status|clean}
[[email protected] ~]# kafka status
Kafka is not running.
[[email protected] ~]# kafka start
Starting Kafka succeeded with PID=15815.
[[email protected] ~]# kafka status
Kafka is not running.

Next I tired a clean start, not that I figured it would make much difference, but maybe there was a issue with the logs not allowing it to restart:

[[email protected] ~]# kafka clean
Removed the Kafka PID file: /var/run/kafka/kafka.pid.
Removed the Kafka OUT file: /var/log/kafka/kafka.out.
Removed the Kafka ERR file: /var/log/kafka/kafka.err.
[[email protected] ~]# kafka status
Kafka is not running. No pid file found.
[[email protected] ~]# kafka start
Starting Kafka succeeded with PID=15875.
[[email protected] ~]# kafka status
Kafka is not running.